declare function _exports({ keychain }: { keychain: import('.').Keychain; }): (name: string, options?: (GenOptions & import("../../utils").AbortOptions) | undefined) => Promise; export = _exports; export type GenOptions = { /** * - The key type */ type?: "Ed25519" | "RSA" | "secp256k1" | undefined; /** * - The key size in bits */ size?: number | undefined; }; export type Key = { name: string; id: string; }; export type AbortOptions = { /** * - A timeout in ms */ timeout?: number | undefined; /** * - Can be used to cancel any long running requests started as a result of this call */ signal?: AbortSignal | undefined; }; //# sourceMappingURL=gen.d.ts.map