import type { CalculatedLine } from "./calculate.js";
/** Snake_case keys aligned with `QUPS_LINE_SQL_COLUMNS` / Drizzle SQL names. */
export type QupsPersistedFields = {
    truth: string;
    quantity: string;
    quantity_ratio_numerator: string | null;
    quantity_ratio_denominator: string | null;
    currency: string;
    unit_price_amount: string;
    subtotal_amount: string;
    tax_rate_percent: string | null;
    tax_mode: string | null;
    tax_amount: string | null;
    net_amount: string;
    gross_amount: string;
};
/** Plain-object pricing fields for Backseat / IndexedDB — same names as SQL columns. */
export declare function withQupsFields(line: CalculatedLine): QupsPersistedFields;
export declare function withQupsFieldsRow<T extends Record<string, unknown>>(row: T, line: CalculatedLine): T & QupsPersistedFields;
//# sourceMappingURL=qups-fields.d.ts.map