/** * Rendered text -> a typed value for the declared column type. * * The engine produces strings; a typed container needs real values. Everything * that cannot be represented exactly is an ERROR, never a silent rounding or a * truncation — a synthetic dataset that quietly loses digits is worse than one * that refuses to be written. * Spec: docs/specs/2026-07-19-typed-output-and-parquet-writer.md §5. */ import type { ColumnType } from '../column-type.js'; /** A value ready for PLAIN encoding; `null` means the column is NULL on this row. */ export type TypedValue = null | boolean | number | bigint | string | Uint8Array; /** * Convert one rendered cell. Throws a message describing the value and the * expectation; the writer adds the column name and row index around it. */ export declare function convertValue(raw: string, type: ColumnType): TypedValue; //# sourceMappingURL=convert.d.ts.map