/** * Get the time range for the specified period relative to the current moment in a specific domain's timezone. * * @param {('today' | 'this month' | '30 days' | 'this year' | '12 months' | 'date range' | 'month')} period - The time period to calculate the range for. * Valid options are 'today', 'this month', '30 days', 'this year', '12 months', 'date range', and 'month'. * @param {Object} [options] - Optional parameters for 'date range' and 'month' periods. * @param {string[]} [options.date] - The start date and end date for the 'date range' period. * @param {string} [options.month] - The month for the 'month' period in 'YYYY-MM' format. * @param {Object} context - The context object containing domain information. * @param {Object} context.state - The state object containing domain information. * @param {Object} context.state.domain - The domain object containing timezone information. * @param {string} context.state.domain.timezone - The timezone of the domain. * @returns {Promise<{ from: string; to: string }>} - A Promise that resolves to an object containing 'from' and 'to' ISO date strings representing the time range. */ export declare function getTimesForPeriod(period: 'today' | 'this month' | '30 days' | 'this year' | '12 months' | 'date range' | 'month', options: { date?: string[]; month?: string; }, context: any): Promise<{ from: string; to: string; }>; /** * Get the ISO date strings for the specified period relative to the current moment in a specific domain's timezone. * * @param {('today' | 'this month' | '30 days' | 'this year' | '12 months' | 'date range' | 'month')} period - The time period to calculate the range for. * Valid options are 'today', 'this month', '30 days', 'this year', '12 months', 'date range', and 'month'. * @param {Object} [options] - Optional parameters for 'date range' and 'month' periods. * @param {string[]} [options.date] - The start date and end date for the 'date range' period. * @param {string} [options.month] - The month for the 'month' period in 'YYYY-MM' format. * @param {Object} context - The context object containing domain information. * @param {Object} context.state - The state object containing domain information. * @param {Object} context.state.domain - The domain object containing timezone information. * @param {string} context.state.domain.timezone - The timezone of the domain. * @returns {Promise<{ from: string; to: string }>} - A Promise that resolves to an object containing 'from' and 'to' ISO date strings representing the time range. */ export declare function getISOStringsForPeriod(period: 'today' | 'this month' | '30 days' | 'this year' | '12 months' | 'date range' | 'month', options: { date?: string[]; month?: string; }, context: any): Promise<{ from: string; to: string; }>;