/** The default Aluvia API endpoint */ export declare const API_ORIGIN: string; /** * Configuration options for API requests * @internal */ interface ApiRequestOptions { method?: string; headers?: Record; body?: string; } /** * Universal HTTP client that works in both Node.js and browser environments. * * Uses native fetch where available, with automatic fallback to node-fetch * for older Node.js versions. Provides a consistent interface for all HTTP operations. * * @internal */ export declare class ApiClient { private baseURL; private fetchInstance; constructor(baseURL?: string); private getFetch; request(endpoint: string, options?: ApiRequestOptions): Promise; /** * Handles HTTP error responses and throws appropriate error types */ private handleErrorResponse; get(endpoint: string, headers?: Record): Promise; post(endpoint: string, data?: any, headers?: Record): Promise; put(endpoint: string, data?: any, headers?: Record): Promise; delete(endpoint: string, headers?: Record): Promise; patch(endpoint: string, data?: any, headers?: Record): Promise; } export declare const api: ApiClient; export {}; //# sourceMappingURL=api-client.d.ts.map