import { type Hex } from "viem"; /** Recursively coerce JS numbers to strings so canonical JSON matches Python * (1.0→"1" vs "1.0", exponents, precision diverge between JSON.stringify and * json.dumps). The spec mandates string-valued params; bools/null are identical * in both encoders and pass through. */ export declare function stringifyNumbers(value: unknown): unknown; /** JCS-subset canonical JSON (see file header for the parity caveat). */ export declare function canonicalJson(value: unknown): string; export declare function computeTemplateHash(params: Record): Hex; export interface PayLinkLit { to: string; amount: string; currency: string; network: string; kind: string; } export interface SignedPayLink { signed_params: string; nonce: string; created_at: number; } /** * Sign a pay-link template with the local agent key. The recovered signer must * equal the SIWE session wallet (created_by), else the platform rejects the * create with 403 — the MCP signs with config.privateKey, so the session must * belong to that same wallet. */ export declare function signPayLink(privateKey: string, params: Record, lit: PayLinkLit): Promise; //# sourceMappingURL=pay-link-signer.d.ts.map