export declare const DEFAULT_API_URL = "https://api.teamshare.name.ng"; export declare const DEFAULT_WS_URL = "wss://api.teamshare.name.ng"; export declare class ApiError extends Error { readonly code: string; readonly status: number; readonly details: unknown; constructor(code: string, message: string, status: number, details?: unknown); } export declare const TIMEOUT_MS = 15000; export declare const MAX_RETRIES = 2; export declare class ApiCore { readonly baseUrl: string; readonly apiKey?: string | undefined; /** * Session mode carried as `X-TeamShare-Session-Mode` on every request: * 'run' | 'build' = execution (agents may self-assign), 'chat' | 'doc' = * conversation (self-assignment blocked, readyForDev forced off). */ readonly sessionMode?: string | undefined; constructor(baseUrl?: string, apiKey?: string | undefined, /** * Session mode carried as `X-TeamShare-Session-Mode` on every request: * 'run' | 'build' = execution (agents may self-assign), 'chat' | 'doc' = * conversation (self-assignment blocked, readyForDev forced off). */ sessionMode?: string | undefined); protected request(path: string, init?: RequestInit, retries?: number, timeoutMs?: number): Promise; }