import { TimeframeKeys } from './types'; import type { DatePickerSelection, TimeframeOptions, TimePeriod, TimeRangeV4 } from './types'; import type { ITimeframe } from './types/timeframe'; export declare class Timeframe implements ITimeframe { readonly timeframeText: string; readonly key: string; readonly display: string; readonly timeframeLength: () => number; readonly allowedTiers: string[]; readonly defaultResponseGranularity: string; readonly dataGranularity: string; readonly isRelative: boolean; readonly fineGrainedDefaultGranularity?: string; private _startCustom?; private _endCustom?; private _allowedGranularitiesOverride?; constructor(opts: TimeframeOptions); rawEnd(_tz?: string): Date; rawStart(_tz?: string): Date; timeframeLengthMs(): number; maximumTimeframeLength(): number; allowedGranularities(fineGrain?: boolean): Set; cacheKey(): string; v4Query(tz?: string): TimeRangeV4; protected tzAdjustedDate(tz?: string): Date; } export declare const TimePeriods: Map; export declare function datePickerSelectionToTimeframe(datePickerSelection: DatePickerSelection): Timeframe; export declare function timeframeToDatepickerSelection(timeframe: Timeframe): DatePickerSelection; export declare function timeframeToDatepickerTimeperiod(timeframe: Timeframe): TimePeriod; export declare function dstOffsetHours(d1: Date, d2: Date): number; export declare const TIMEFRAME_LOOKUP: Record; //# sourceMappingURL=timeframes.d.ts.map