import { temporalColumns } from './columns.js'; import { revise } from './revise.js'; import { close } from './close.js'; import { getCurrent } from './get-current.js'; import { atTime, between } from './query.js'; import { TemporalIntegrityError } from './errors.js'; import { asOf, allVersions, effectiveUpdate } from './definition-queries.js'; /** Temporal (bitemporal) data namespace — version history with effective date ranges. */ export declare const temporal: { /** Returns the standard temporal column definitions (effectiveFrom, effectiveTo, version, createdBy) for table schemas. */ columns: typeof temporalColumns; /** Creates a new version of a temporal record, closing the previous version's effectiveTo. */ revise: typeof revise; /** Closes a temporal record by setting effectiveTo to now. Returns number of rows affected. */ close: typeof close; /** Fetches the currently-effective version of a temporal record (effectiveTo IS NULL). */ current: typeof getCurrent; /** Returns a SQL condition for records effective at a specific point in time. */ atTime: typeof atTime; /** Returns a SQL condition for records overlapping a date range. */ between: typeof between; /** Thrown when a temporal operation would violate version continuity. */ TemporalIntegrityError: typeof TemporalIntegrityError; /** Query records effective at a specific date, using a domain definition with .effectiveDated() trait. */ asOf: typeof asOf; /** Query all versions of temporal records (no date filter). */ allVersions: typeof allVersions; /** Close the current version and create a new one with updated data. */ effectiveUpdate: typeof effectiveUpdate; }; //# sourceMappingURL=namespace.d.ts.map