import { OpenSearchLog, LogQueryParams } from '../../types/index.js'; /** * Browser-compatible OpenSearch Client for fetching logs * Uses backend /api/logs endpoint to avoid CORS issues */ declare class OpenSearchClient { private logsApiUrl; constructor(); /** * Fetch logs from OpenSearch based on query parameters * Uses backend /api/logs endpoint - credentials handled server-side */ fetchLogs(params?: Partial): Promise; /** * Fetch logs for a specific run/evaluation by run ID * Searches for the runId across all fields as plain text */ fetchLogsForRun(runId: string, params?: Partial): Promise; /** * Test OpenSearch connection via backend health endpoint */ testConnection(): Promise; } export declare const openSearchClient: OpenSearchClient; export {}; //# sourceMappingURL=client.d.ts.map