import type { RsaPublicJwk } from "../../contracts/auth.js"; export interface RsaKeyPair { privateKeyPem: string; publicKeyPem: string; kid: string; } export interface GenerateKeyPairOptions { kid?: string; modulusLength?: 2048 | 3072 | 4096; } export declare function generateKeyPair(options?: GenerateKeyPairOptions): RsaKeyPair; export declare function loadOrGenerateKeyPair(filePath: string, options?: GenerateKeyPairOptions): RsaKeyPair; export declare function publicKeyToJwk(publicKeyPem: string, kid: string): RsaPublicJwk; export declare function deriveKeyId(publicKeyPem: string): string; //# sourceMappingURL=keypair.d.ts.map