import { Moment } from 'moment';

export declare const rangeSelectorTypes: readonly [{
    readonly id: "custom";
    readonly value: "custom";
    readonly label: "Custom";
}, {
    readonly id: "last7Days";
    readonly value: "last7Days";
    readonly label: "Last 7 Days";
}, {
    readonly id: "week";
    readonly value: "week";
    readonly label: "Week";
}, {
    readonly id: "month";
    readonly value: "month";
    readonly label: "Month";
}, {
    readonly id: "quarter";
    readonly value: "quarter";
    readonly label: "Quarter";
}, {
    readonly id: "year";
    readonly value: "year";
    readonly label: "Year";
}];
export type RangeSelectorTypeId = (typeof rangeSelectorTypes)[number]['id'];
export declare function setStartDateOffset(selectedRange: RangeSelectorTypeId, day: Moment): Moment;
export declare function setEndDateOffset(selectedRange: RangeSelectorTypeId, day: Moment): Moment;
export declare function calculatePosition({ containerRef, setCustomPosition, showRangeSelector, }: {
    containerRef: React.RefObject<HTMLElement | null>;
    setCustomPosition: (pos: {
        left?: number | string;
        right?: number | string;
    }) => void;
    showRangeSelector?: boolean;
}): void;
export declare function formatMomentDate(date: Moment | null | undefined, dateFormat?: string): string;
//# sourceMappingURL=utils.d.ts.map