import { DatabaseInterface, MinorUnitsPreflightResult, MinorUnitsRescaleResult, MoneyColumnTarget } from '@happyvertical/smrt-core/migrations'; /** Marker recorded in `_smrt_backfills` once the rescale has run. */ export declare const SUPPORT_MONEY_MINOR_UNITS_BACKFILL = "@happyvertical/smrt-support:money-minor-units:v1"; /** Every support money column that held major units before #2401. */ export declare const SUPPORT_MONEY_COLUMNS: MoneyColumnTarget[]; /** * Report what {@link migrateSupportMoneyToMinorUnits} would do, without writing * anything. */ export declare function preflightSupportMoneyMinorUnits(db: DatabaseInterface, options?: { scale?: number; engineHint?: string; }): Promise; /** * Convert every support money column from floating-point major units to integer * minor units. Idempotent via a `_smrt_backfills` marker. * * @throws `MinorUnitsPreflightError` when a row would be rounded or would * overflow `int4` and `force` was not set. */ export declare function migrateSupportMoneyToMinorUnits(db: DatabaseInterface, options?: { scale?: number; engineHint?: string; force?: boolean; }): Promise; //# sourceMappingURL=moneyMinorUnits.d.ts.map