import { P as PasskeyCredential, T as TransferParams, E as ExecuteParams, B as BridgeParams } from '../types-DP2CQT8p.mjs'; type AuthenticateAndPrepareParams = { credential: PasskeyCredential; action?: TransferParams | ExecuteParams | BridgeParams; /** Pre-encoded Hub action payload (hex string). If provided, `action` is ignored. */ actionPayload?: string; targetChain: number; }; type AuthenticateAndPrepareResult = { serializedTx: Uint8Array; queryProof: Uint8Array; estimatedLatency: number; fallbackAvailable: boolean; }; /** * Client-first authentication preparation: * - user signs locally (FaceID/TouchID) * - client queries Wormhole Query Proxy for Guardian-attested nonce/state * - client returns a ready-to-submit relayer payload (JSON bytes) * - falls back to RPC nonce if Queries fails */ declare function authenticateAndPrepare(userParams: AuthenticateAndPrepareParams, apiKey: string): Promise; export { type AuthenticateAndPrepareParams, type AuthenticateAndPrepareResult, authenticateAndPrepare };