import { type SmartAccountAuthenticator } from "@alchemy/aa-core"; import Portal, { type PortalOptions } from "@portal-hq/web"; import { type SignableMessage, type TypedDataDefinition } from "viem"; import type { PortalAuthenticationParams, PortalUserInfo } from "./types.js"; /** * This class requires the `@portal-hq/web` dependency. * `@alchemy/aa-signers` lists it as an optional dependency. * * @see https://docs.portalhq.io/sdk/web-beta */ export declare class PortalSigner implements SmartAccountAuthenticator { inner: Portal; private signer; constructor(params: PortalOptions | { inner: Portal; }); readonly signerType = "aa-signers:portal"; 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