import { ColumnOptions } from 'typeorm'; import { DateRange } from '../date-range.js'; export type DateRangeColumnOptions = Omit & { /** * If set to true, a CHECK constraint is added to only allow finite date ranges. * Default false. */ finiteOnly?: boolean; }; export type DateRangeViewColumnOptions = Omit; export declare function DateRangeColumn(options?: DateRangeColumnOptions): PropertyDecorator; export declare function DateRangeViewColumn(options?: DateRangeViewColumnOptions): PropertyDecorator; export declare class DateRangeTransformer { private static instance; static getInstance(): DateRangeTransformer; private constructor(); from(value: string | null): DateRange | null; to(value: DateRange | null): string | null; }