/** * Co-signer client — routes orders through our builder attribution proxy. */ import type { CosignerRequest, BuilderCredentials, ExchangeVersion } from './types.js'; export interface CosignerConfig { cosignerUrl: string; polynodeKey: string; fallbackDirect: boolean; builderCredentials?: BuilderCredentials; exchangeVersion?: ExchangeVersion; } /** * Build L2 HMAC headers for Polymarket CLOB authentication. */ export declare function buildL2Headers(apiKey: string, apiSecret: string, apiPassphrase: string, walletAddress: string, method: string, path: string, body?: string): Record; /** * Send a request through the co-signer (adds builder headers, forwards to CLOB). * Falls back to direct CLOB submission if configured and co-signer fails. */ export declare function sendViaCosigner(config: CosignerConfig, request: CosignerRequest): Promise; //# sourceMappingURL=cosigner.d.ts.map