/** * Wallet signer abstraction * * Normalizes all supported wallet types into the interface that * @polymarket/clob-client and @polymarket/builder-relayer-client expect. */ import type { TradingSigner, SignatureType } from './types.js'; export interface NormalizedSigner { /** The EOA address (signer, not the Safe/Proxy) */ address: string; /** The signer object compatible with ClobClient (viem WalletClient shape) */ clobSigner: any; /** Signature type to use */ signatureType: SignatureType; /** Funder address (Safe/Proxy address, or EOA for type 0) */ funderAddress?: string; } /** * Normalize any TradingSigner input into a consistent interface. * * Lazy-loads viem only when needed (raw private key case). */ export declare function normalizeSigner(signer: TradingSigner, defaultSignatureType?: number): Promise; /** Ensure clobSigner has getAddress() and _signTypedData() for compat with @polymarket/clob-client (ethers v5). */ export declare function ensureGetAddress(normalized: NormalizedSigner): void; //# sourceMappingURL=signer.d.ts.map