export type ProgressRow = Record; export type ProgressColumns = { value: string; of: string; }; export type ProgressModel = { /** The numerator, `null` when the row has none readable. */ value: number | null; /** The total, `null` when the row has none readable. */ of: number | null; /** `value / of × 100`; `null` unless both are finite and `of > 0`. May exceed 100 or be negative. */ percent: number | null; /** What the bar draws: `percent` clamped to 0–100; 0 when there is no percentage. */ fill: number; }; /** Derives what the view draws from the first row of the piece's data source. */ export declare const toProgressModel: ({ value: valueColumn, of: ofColumn }: ProgressColumns, rows: readonly unknown[]) => ProgressModel;