//#region src/components/DataManagerTable/date_utils.d.ts
declare enum TimeGranularity {
  Minutes = "minutes",
  Hours = "hours",
  Days = "days"
}
declare const MAX_DATE: Date;
declare const MIN_DATE: Date;
declare const subtractTime: (date: Date, value: number, granularity: TimeGranularity) => Date;
declare const startOfDay: (date: Date) => Date;
declare const endOfDay: (date: Date) => Date;
declare enum DateRangeOperation {
  IsInTheLast = "is in the last",
  IsEqualTo = "is equal to",
  IsBetween = "is between",
  IsAfter = "is after",
  IsBefore = "is before"
}
interface CustomDateRangeDataBase {
  type: DateRangeOperation;
}
interface IsInTheLastData extends CustomDateRangeDataBase {
  type: DateRangeOperation.IsInTheLast;
  value: number;
  granularity: TimeGranularity;
}
interface IsEqualToData extends CustomDateRangeDataBase {
  type: DateRangeOperation.IsEqualTo;
  date: Date;
}
interface IsBetweenData extends CustomDateRangeDataBase {
  type: DateRangeOperation.IsBetween;
  start: Date;
  end: Date;
}
interface IsAfterData extends CustomDateRangeDataBase {
  type: DateRangeOperation.IsAfter;
  date: Date;
}
interface IsBeforeData extends CustomDateRangeDataBase {
  type: DateRangeOperation.IsBefore;
  date: Date;
}
type CustomDateRangeData = IsInTheLastData | IsEqualToData | IsBetweenData | IsAfterData | IsBeforeData;
//#endregion
export { IsBetweenData as a, MAX_DATE as c, endOfDay as d, startOfDay as f, IsBeforeData as i, MIN_DATE as l, DateRangeOperation as n, IsEqualToData as o, subtractTime as p, IsAfterData as r, IsInTheLastData as s, CustomDateRangeData as t, TimeGranularity as u };