import type { Command } from "commander"; /** One refresh run from the org-scoped job_runs reader (mirrors UnifiedJobRow). */ interface RefreshRun { run_id: string; status: string; started_at: string; run_type: string | null; result_rows: number | null; duration_ms: number | null; snowflake_query_id: string | null; error: string | null; } /** * Map API refresh runs to display rows. A null query id renders "not captured" * (never `undefined`) so the column always reads clean - a run predating query-id * capture, or a failure before any query executed, has no id to show. */ export declare function formatRefreshRuns(rows: RefreshRun[]): Record[]; /** * `graphit ds refresh-history ` - recent refresh runs for a data source with the * Snowflake query id per run (Project #258 / Feature #701 Layer 2). Answers "what did * refresh run N actually execute on Snowflake?" without a gcloud dig. Read-only; hits * the same org-scoped job_runs reader the web UI uses. Kept in its own module so the * 800+ line ds.ts only carries a thin registration line. */ export declare function registerRefreshHistoryCommand(ds: Command): void; export {};