import { type SmartAccountAuthenticator } from "@alchemy/aa-core"; import { Web3Auth, type Web3AuthOptions } from "@web3auth/modal"; import { type SignableMessage, type TypedDataDefinition } from "viem"; import type { Web3AuthAuthenticationParams, Web3AuthUserInfo } from "./types.js"; /** * This class requires the `@web3auth/modal` and `@web3auth/base dependencies. * `@alchemy/aa-signers` lists them as optional dependencies. * * @see https://github.com/Web3Auth/web3auth-web/tree/master/packages/modal * @see https://github.com/Web3Auth/web3auth-web/tree/master/packages/base */ export declare class Web3AuthSigner implements SmartAccountAuthenticator { inner: Web3Auth; private signer; constructor(params: Web3AuthOptions | { inner: Web3Auth; }); readonly signerType = "aa-signers:web3auth"; getAddress: () => Promise<`0x${string}`>; signMessage: (msg: SignableMessage) => Promise<`0x${string}`>; signTypedData: (params: TypedDataDefinition) => Promise<`0x${string}`>; authenticate: (params?: Web3AuthAuthenticationParams) => Promise>; getAuthDetails: () => Promise>; } //# sourceMappingURL=signer.d.ts.map