import { z } from "zod"; import { BaseSignerClient } from "./base.js"; import type { CreateAccountParams, CredentialCreationOptionOverrides, EmailAuthParams, ExportWalletParams, User } from "./types"; export declare const AlchemySignerClientParamsSchema: z.ZodObject<{ connection: z.ZodUnion<[z.ZodObject<{ rpcUrl: z.ZodOptional; apiKey: z.ZodString; jwt: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey: string; rpcUrl?: undefined; jwt?: undefined; }, { apiKey: string; rpcUrl?: undefined; jwt?: undefined; }>, z.ZodObject<{ rpcUrl: z.ZodOptional; apiKey: z.ZodOptional; jwt: z.ZodString; }, "strip", z.ZodTypeAny, { jwt: string; rpcUrl?: undefined; apiKey?: undefined; }, { jwt: string; rpcUrl?: undefined; apiKey?: undefined; }>, z.ZodObject<{ rpcUrl: z.ZodString; apiKey: z.ZodOptional; jwt: z.ZodOptional; /** * A lower level client used by the AlchemySigner used to communicate with * Alchemy's signer service. */ }, "strip", z.ZodTypeAny, { rpcUrl: string; apiKey?: undefined; jwt?: undefined; }, { rpcUrl: string; apiKey?: undefined; jwt?: undefined; }>, z.ZodObject<{ rpcUrl: z.ZodString; apiKey: z.ZodOptional; jwt: z.ZodString; }, "strip", z.ZodTypeAny, { rpcUrl: string; jwt: string; apiKey?: undefined; }, { rpcUrl: string; jwt: string; apiKey?: undefined; }>]>; iframeConfig: z.ZodObject<{ iframeElementId: z.ZodDefault; iframeContainerId: z.ZodString; }, "strip", z.ZodTypeAny, { iframeElementId: string; iframeContainerId: string; }, { iframeContainerId: string; iframeElementId?: string | undefined; }>; rpId: z.ZodOptional; rootOrgId: z.ZodDefault>; }, "strip", z.ZodTypeAny, { connection: { apiKey: string; rpcUrl?: undefined; jwt?: undefined; } | { jwt: string; rpcUrl?: undefined; apiKey?: undefined; } | { rpcUrl: string; apiKey?: undefined; jwt?: undefined; } | { rpcUrl: string; jwt: string; apiKey?: undefined; }; rootOrgId: string; iframeConfig: { iframeElementId: string; iframeContainerId: string; }; rpId?: string | undefined; }, { connection: { apiKey: string; rpcUrl?: undefined; jwt?: undefined; } | { jwt: string; rpcUrl?: undefined; apiKey?: undefined; } | { rpcUrl: string; apiKey?: undefined; jwt?: undefined; } | { rpcUrl: string; jwt: string; apiKey?: undefined; }; iframeConfig: { iframeContainerId: string; iframeElementId?: string | undefined; }; rpId?: string | undefined; rootOrgId?: string | undefined; }>; export type AlchemySignerClientParams = z.input; /** * A lower level client used by the AlchemySigner used to communicate with * Alchemy's signer service. */ export declare class AlchemySignerWebClient extends BaseSignerClient { private iframeStamper; private webauthnStamper; iframeContainerId: string; constructor(params: AlchemySignerClientParams); createAccount: (params: CreateAccountParams) => Promise; initEmailAuth: (params: Omit) => Promise<{ orgId: string; }>; completeEmailAuth: ({ bundle, orgId, }: { bundle: string; orgId: string; }) => Promise; lookupUserWithPasskey: (user?: User | undefined) => Promise; exportWallet: ({ iframeContainerId, iframeElementId, }: ExportWalletParams) => Promise; disconnect: () => Promise; private initIframeStamper; private initWebauthnStamper; protected getWebAuthnAttestation: (options?: CredentialCreationOptionOverrides, userDetails?: { username: string; }) => Promise<{ challenge: ArrayBuffer; authenticatorUserId: ArrayBuffer; attestation: { credentialId: string; clientDataJson: string; attestationObject: string; transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[]; }; }>; } //# sourceMappingURL=index.d.ts.map