/** * HTTP client for the Reverse Centaur REST API. * Uses native fetch — no external HTTP dependencies. */ import type { ApiConfig, CapabilitiesResponse, CancelTaskResponse, CheckTaskResponse, PostTaskInput, PostTaskResponse, SendTaskMessageInput, SendTaskMessageResponse, ListTaskMessagesResponse } from './types.js'; export declare class ApiClient { private config; constructor(config: ApiConfig); private request; postTask(input: PostTaskInput): Promise; checkTask(taskId: string): Promise; listCapabilities(): Promise; cancelTask(taskId: string, reason?: string): Promise; sendTaskMessage(input: SendTaskMessageInput): Promise; listTaskMessages(taskId: string): Promise; } export declare class ApiError extends Error { code: string; suggestion?: string | undefined; constructor(code: string, message: string, suggestion?: string | undefined); } //# sourceMappingURL=api-client.d.ts.map