import { AxiosInstance, AxiosRequestConfig } from "axios"; /** * Utility function to truncate large objects for logging */ export declare function truncateForLogging(obj: any, maxChars?: number): any; /** Constructor options for CLI transport */ export interface CLITransportOptions { baseUrl: string; apiKey: string; timeout?: number; /** You can pass a pre‑configured axios instance (e.g. for tests) */ instance?: AxiosInstance; } /** * CLI-compatible transport layer based on proven AxiosTransport * Uses simple API key authentication instead of complex auth system */ export declare class CLITransport { protected readonly axios: AxiosInstance; constructor({ baseUrl, apiKey, timeout, instance }: CLITransportOptions); request(cfg: AxiosRequestConfig): Promise; get(url: string, params?: any): Promise; post(url: string, data?: any, cfg?: AxiosRequestConfig): Promise; put(url: string, data?: any, cfg?: AxiosRequestConfig): Promise; patch(url: string, data?: any, cfg?: AxiosRequestConfig): Promise; delete(url: string, cfg?: AxiosRequestConfig): Promise; /** * Update the API key for this transport instance. */ updateApiKey(apiKey: string): void; /** * Get the current authorization header for debugging. */ getAuthorizationHeader(): string | undefined; /** * Verify that the axios instance is properly configured with the current API key. */ verifyApiKeyConfiguration(): void; /** * Test the API connection and authentication */ testConnection(): Promise<{ success: boolean; error?: string; }>; } //# sourceMappingURL=transport.d.ts.map