export declare const MCP_VERSION = "3.0.0"; export declare const CLIENT_CONTRACT_VERSION = "2"; export type AuthMode = "none" | "optional-session" | "session" | "trading"; export type ApiSurface = "spot" | "futures"; export interface RequestOptions { method?: "GET" | "POST" | "PUT" | "DELETE"; body?: unknown; auth?: AuthMode; surface?: ApiSurface; idempotencyKey?: string; tradingAccount?: string; headers?: Record; } export interface PexbotClientOptions { apiBase?: string; futuresBase?: string; apiKey?: string | null; sessionToken?: string | null; tradingAccount?: string | null; timeoutMs?: number; fetchFn?: typeof fetch; } export declare class PexbotApiError extends Error { readonly status: number; readonly code?: string; readonly details?: unknown; constructor(message: string, status: number, code?: string, details?: unknown); } export declare class PexbotClient { readonly apiBase: string; readonly futuresBase: string; readonly timeoutMs: number; private readonly fetchFn; private readonly configuredApiKey; private readonly defaultTradingAccount; private runtimeApiKey; private sessionToken; constructor(options?: PexbotClientOptions); hasApiKey(): boolean; hasSession(): boolean; setSessionToken(token: string): void; setRuntimeApiKey(key: string): void; clearSession(): void; get(path: string, options?: Omit): Promise; post(path: string, body: unknown, options?: Omit): Promise; put(path: string, body: unknown, options?: Omit): Promise; delete(path: string, options?: Omit): Promise; request(path: string, options?: RequestOptions): Promise; } export declare function newIdempotencyKey(): string; export declare function encodePath(value: string): string; export declare function queryString(values: Record): string; export declare function createAgentRegistrationToken(secret: string, values: { timestamp: string; email: string; modelName: string; macAddress: string; hostname: string; cpuInfo: string; nonce: string; solution: string; }): string; //# sourceMappingURL=client.d.ts.map