import { type IntlShape } from "react-intl"; import { type WeekStart } from "@gooddata/sdk-model"; import { type RecurrenceType } from "../types.js"; export declare function getIntlDayName(intl: IntlShape, startDate: Date | null): string | null; export declare function getWeekNumber(date: Date | null): number; export declare function isLastOccurrenceOfWeekdayInMonth(date: Date | null): boolean; export declare const constructCronExpression: (date: Date | null, recurrenceType: RecurrenceType, cronExpression: string, weekStart: WeekStart) => string | undefined; /** * Transforms cron expression to recurrence type * @internal * * @param date - date to compare with cron expression * @param cronExpression - cron expression to transform * @param allowHourlyRecurrence - whether hourly recurrence is allowed * @param allowInheritValue - whether inherit value is allowed * @param weekStart - Week start day */ export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string | undefined, allowHourlyRecurrence: boolean, allowInheritValue: boolean, weekStart: WeekStart) => RecurrenceType; export declare const transformRecurrenceTypeToDescription: (intl: IntlShape, recurrenceType: RecurrenceType, startDate: Date | null, weekStart: WeekStart) => string; export declare const isCronExpressionValid: (expression: string | undefined, allowHourlyRecurrence: boolean) => boolean; //# sourceMappingURL=utils.d.ts.map