// Ambient declaration for oidc-provider which has no published TypeScript types.
// The runtime is fully typed through `any` at call sites — see src/oidc/oidcService.ts.
declare module 'oidc-provider';
declare module 'oidc-provider/lib/helpers/keystore.js' {
	export class ExternalSigningKey {
		kid: string;
		alg: string;
		get use(): string;
		get kty(): string;
		get n(): string;
		get e(): string;
		get pub(): string;
		keyObject(): unknown;
		sign(data: ArrayBuffer): Promise<Buffer>;
	}
}