import { StaticJsonRpcProvider } from '@ethersproject/providers'; import { API } from '../services'; import { WebAuthnOwner } from '../wallet'; import { AlembicProvider } from '../wallet/AlembicProvider'; export declare function platformAuthenticatorIsAvailable(): Promise; export declare function signWithWebAuthn(webAuthnOwners: WebAuthnOwner[], challenge: string): Promise<{ encodedSignature: string; publicKeyId: string; }>; export declare function createWalletWithWebAuthn(userId: string, chainId: string): Promise<{ publicKeyX: string; publicKeyY: string; publicKeyId: string; signerAddress: string; }>; export declare function createOrGetWebAuthnOwner(userId: string, chainId: string, provider: StaticJsonRpcProvider, API: API): Promise<{ publicKeyId: string; signerAddress: string; }>; declare const _default: { createCredential: (signerName: string) => Promise<{ point: any; id: string; }>; sign: (challenge: BufferSource, publicKeyCredential: PublicKeyCredentialDescriptor[]) => Promise; getWebAuthnSignature: (hash: string, publicKeyCredential: PublicKeyCredentialDescriptor[]) => Promise<{ encodedSignature: string; publicKeyId: string; }>; predictSignerAddress: (publicKey_X: string, publicKey_Y: string, chainId: number) => Promise; waitWebAuthnSignerDeployment: (publicKey_X: string, publicKey_Y: string, chainId: number, provider: StaticJsonRpcProvider | AlembicProvider) => Promise; platformAuthenticatorIsAvailable: typeof platformAuthenticatorIsAvailable; createWalletWithWebAuthn: typeof createWalletWithWebAuthn; signWithWebAuthn: typeof signWithWebAuthn; createOrGetWebAuthnOwner: typeof createOrGetWebAuthnOwner; }; export default _default;