import type { RunFailureClass } from "./RunTelemetryTypes.js"; export declare const RUN_LOG_QUERY_SCHEMA_VERSION: 1; export declare const DEFAULT_RUN_LOG_QUERY_LIMIT = 100; export declare const MAX_RUN_LOG_QUERY_LIMIT = 2000; export type RunLogQuerySort = "asc" | "desc"; export interface RunLogQueryFilters { run_id?: string; task_id?: string; phase?: string; event_type?: string; failure_class?: RunFailureClass | string; } export interface RunLogQueryInput { schema_version?: number; filters?: RunLogQueryFilters; limit?: number; offset?: number; sort?: RunLogQuerySort; } export interface RunLogQueryEvent { event_index: number; file: string; line: number; type: string; timestamp: string; run_id?: string; task_id?: string; phase?: string; failure_class?: string; data: Record; } export interface NormalizedRunLogQuery { schema_version: typeof RUN_LOG_QUERY_SCHEMA_VERSION; filters: RunLogQueryFilters; limit: number; offset: number; sort: RunLogQuerySort; } export interface RunLogQueryResult { schema_version: typeof RUN_LOG_QUERY_SCHEMA_VERSION; query: NormalizedRunLogQuery; total: number; returned: number; next_offset: number | null; events: RunLogQueryEvent[]; } export declare const normalizeRunLogQueryInput: (input?: RunLogQueryInput) => NormalizedRunLogQuery; //# sourceMappingURL=RunLogQuery.d.ts.map