import dayjs from 'dayjs'; import RelativeDateRange from '../components/_inputs/date-range/types'; /** * Internal date range representation (neutral, unformatted) */ export type CalculatedDateRange = { startDate: dayjs.Dayjs; endDate: dayjs.Dayjs; }; export type CalculableRelativeDateRange = Exclude; export declare const calcDates: (range: RelativeDateRange) => CalculatedDateRange | null; export declare const calcDatesForUI: (range: RelativeDateRange) => { start: string; end: string; } | null; /** * Adapter for filter definitions (YYYY-MM-DD) */ export declare const calcDatesForAPI: (range: RelativeDateRange) => { start: string; end: string; } | null;