import { type SmartAccountAuthenticator } from "@alchemy/aa-core"; import Capsule from "@usecapsule/web-sdk"; import { type SignableMessage, type TypedDataDefinition, type WalletClient } from "viem"; import type { CapsuleAuthenticationParams, CapsuleConfig, CapsuleUserInfo } from "./types.js"; /** * This class requires the `@usecapsule/web-sdk` dependency. * `@alchemy/aa-signers` lists it as an optional dependency. * * @see https://docs.usecapsule.com/getting-started/initial-setup */ export declare class CapsuleSigner implements SmartAccountAuthenticator { inner: Capsule; private client; private signer; constructor(params: CapsuleConfig | { inner: Capsule; client: WalletClient; }); readonly signerType = "aa-signers:capsule"; getAddress: () => Promise<`0x${string}`>; signMessage: (msg: SignableMessage) => Promise<`0x${string}`>; signTypedData: (params: TypedDataDefinition) => Promise<`0x${string}`>; authenticate: () => Promise>; getAuthDetails: () => Promise>; } //# sourceMappingURL=signer.d.ts.map