/** * RSA Key Generation for JWT * * Generates RS256 key pairs for JWT signing */ import { JwtKeys } from "./jwt.js"; export interface KeyPairPaths { privateKeyPath: string; publicKeyPath: string; } /** * Generate a new RSA key pair for JWT signing (RS256) */ export declare function generateKeyPair(): JwtKeys; /** * Save key pair to files */ export declare function saveKeyPair(keys: JwtKeys, paths: KeyPairPaths): void; /** * Load key pair from files */ export declare function loadKeyPair(paths: KeyPairPaths): JwtKeys; /** * Get default key paths based on workspace root */ export declare function getDefaultKeyPaths(): KeyPairPaths; /** * Initialize JWT keys (generate if not exist, otherwise load) */ export declare function initializeKeys(): JwtKeys;