type KeychainNativeModule = { isAvailable: () => Promise; hasKey: (key: string) => Promise; generateKeyPair: (key: string) => Promise<{ publicKey: string; }>; getPublicKey: (key: string) => Promise<{ publicKey: string; } | null>; sign: (key: string, payload: string) => Promise<{ signature: string; }>; deleteKey: (key: string) => Promise; }; /** * Reports whether the Keychain native module is linked into the currently * running native binary. Mirrors `isEmbeddedWebViewAvailable`: an over-the-air * JS update can run on an older binary that predates the module, so any * unexpected throw is treated as "unavailable". */ export declare const isKeychainAvailable: () => boolean; export declare const getKeychain: () => KeychainNativeModule; export {};