import type { Hex } from "viem"; import type { Order } from "../api/order.js"; import type { ConnectedWalletClient } from "../wallet/wallet.js"; export type SignatureType = "eoa" | "poly-proxy" | "poly-gnosis-safe"; /** * Sign an order using EIP-712 */ export declare function signOrder(wallet: ConnectedWalletClient, order: Order): Promise; /** * Signs the canonical Polymarket CLOB EIP-712 authentication message * * @param signer - Viem wallet client * @param timestamp - Timestamp for the signature * @param nonce - Nonce for the signature * @returns EIP-712 signature */ export declare function signClobAuth({ signer, timestamp, nonce }: { signer: ConnectedWalletClient; timestamp: number; nonce: bigint; }): Promise; export declare function signatureTypeToNumber(signatureType: SignatureType): 0 | 1 | 2; //# sourceMappingURL=eip712.d.ts.map