import type { UnitScale } from "./format_money"; /** What an entry typed into a field in a unit reads as: its figure in the field's unit, nothing typed, or no figure. */ export type QuantityEntry = { read: true; value: number | null; } | { read: false; }; /** * AN ENTRY TYPED INTO A FIELD IN A UNIT, in that unit: a figure alone is the field's own, and a figure followed by a * word one of `entries` is named by is converted from it — "12,5 t" into a kg field is 12 500. A word naming none, * or no figure, reads as nothing the field holds. */ export declare function readQuantityEntry(text: string, tag: string, entries: UnitScale["entries"]): QuantityEntry;