/** * Optional first-party Account integration for PS Lite owner binding. * * The PS Lite helper lives in `personal-server-lite/owner-binding`. * This module adapts any Account-style client exposing `getAddress` and * `signMessage` to the SDK owner-binding signature shape. * * @category Account */ import type { Address, Hex } from "viem"; import { buildPersonalServerLiteOwnerBindingMessage, type PersonalServerLiteOwnerBindingSignature } from "../personal-server-lite/owner-binding.js"; export interface AccountPersonalServerLiteOwnerBindingClient { getAddress(): Promise
| Address | null; signMessage(input: { message: ReturnType; }): Promise | Hex; } export interface SignPersonalServerLiteOwnerBindingWithAccountClientConfig { client: AccountPersonalServerLiteOwnerBindingClient; } export declare class AccountPersonalServerLiteOwnerBindingError extends Error { code?: number | string; details?: unknown; constructor(input: { message: string; code?: number | string; details?: unknown; }); } export declare function signPersonalServerLiteOwnerBindingWithAccountClient(config: SignPersonalServerLiteOwnerBindingWithAccountClientConfig): Promise;