import { BetweenDateFilter } from '../../model/FilterModel.ts'; import { Dayjs } from 'dayjs'; import { DateRangePreset } from '../input/DateRangePresetModel.ts'; import { TimeZone } from '../../model/CommonTypes.ts'; export type DateRange = { from?: string; to?: string; }; export type DateRangePresetKey = string; export declare const convertDateRangePresetKey: (preset: DateRangePreset) => DateRangePresetKey; export declare class BetweenDateFilterWithPreset extends BetweenDateFilter { readonly name: string; readonly fromValue?: string | Date | Dayjs | undefined; readonly toValue?: string | Date | Dayjs | undefined; presetKey?: DateRangePresetKey; constructor(name: string, fromValue?: string | Date | Dayjs | undefined, toValue?: string | Date | Dayjs | undefined, preset?: DateRangePreset); static createFromPresetKey(name: string, presetKey: DateRangePresetKey, candidatePresets: DateRangePreset[], timeZone: TimeZone): BetweenDateFilterWithPreset | undefined; }