import { ContentCellValue } from "document-schema.js"; //#region src/odb/values.d.ts type CellValueClass = "numeric" | "boolean" | "text"; type CellComparisonKey = { readonly valueClass: "numeric"; readonly numeric: number; } | { readonly valueClass: "boolean"; readonly boolean: boolean; } | { readonly valueClass: "text"; readonly text: string; }; type CellAggregateFunction = "COUNT" | "SUM" | "AVG" | "MIN" | "MAX"; type CellValueFailure = (message: string) => Error; declare const CELL_NULL: ContentCellValue; declare function cellComparisonKey(value: ContentCellValue): CellComparisonKey | undefined; declare function compareCellKeys(left: CellComparisonKey, right: CellComparisonKey, fail: CellValueFailure): number; declare function compareCellValues(left: ContentCellValue, right: ContentCellValue, fail: CellValueFailure): number; declare function cellValuesEqual(left: ContentCellValue, right: ContentCellValue): boolean; declare function aggregateCellValues(aggregate: CellAggregateFunction, values: readonly ContentCellValue[], fail: CellValueFailure): ContentCellValue; //#endregion export { CellValueFailure as a, cellValuesEqual as c, CellValueClass as i, compareCellKeys as l, CellAggregateFunction as n, aggregateCellValues as o, CellComparisonKey as r, cellComparisonKey as s, CELL_NULL as t, compareCellValues as u };