import { s as FilterType } from "../../filters-BU7W0nI5.js";
import { n as FilterState } from "../../Filter-CONTB5-s.js";
import { n as DateRangeOperation } from "../../date_utils-BhM8kbTc.js";
import * as _$_emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";

//#region src/components/DataManagerTable/DateFilter.d.ts
declare enum DatePreset {
  LastHour = "Last hour",
  Last12Hours = "Last 12 hours",
  Today = "Today",
  Last7Days = "Last 7 days",
  Last14Days = "Last 14 days",
  Last30Days = "Last 30 days",
  Custom = "Custom"
}
interface DateFilterState extends FilterState {
  type: FilterType.DATE;
  start: Date | null;
  end: Date | null;
  preset?: DatePreset | undefined;
  customRangeOperation?: DateRangeOperation | undefined;
}
declare const isDateFilterState: (state: FilterState) => state is DateFilterState;
declare const getDefaultDateFilterState: () => {
  type: FilterType;
  start: null;
  end: null;
  isApplied: boolean;
};
declare const DateFilter: ({
  updateFilterState,
  state,
  isDateOnly,
  presets
}: {
  updateFilterState: (state: DateFilterState) => void;
  state: DateFilterState;
  isDateOnly?: boolean;
  presets?: DatePreset[];
}) => _$_emotion_react_jsx_runtime0.JSX.Element;
//#endregion
export { DateFilter, DateFilterState, DatePreset, getDefaultDateFilterState, isDateFilterState };