import { DateTime } from "luxon"; import { DashboardFilter } from "../../../contexts/DashboardFilterContext"; import { Granularity } from "../../../types/dashboard"; export declare const diffDatesByGranularity: (startDate: DateTime, endDate: DateTime, granularity: Granularity) => number; /** * Calculate the difference between two dates based on `DashboardFilter.granularity`. * Defaults to the _inclusive_ end date. */ export declare const diffDatesByGranularityWithFilter: ({ startDate, endDate, granularity, }: DashboardFilter) => ReturnType;