export type Cadence = "daily" | "weekly" | "monthly" | "yearly";
export type SchedulerOptionType = Cadence | "automatic" | "manual";
/**
 * Schedule's mode
 * - scheduled: the update occurs on a schedule set by the user
 * - automatic: the update occurs with the nightly reharvest OR when metadata changes
 * - manual: the update occurs when the user manually triggers it, but will not be updated otherwise
 */
export type ScheduleMode = "scheduled" | "automatic" | "manual";
export interface ISchedulerOption {
    label: string;
    type: SchedulerOptionType;
    expandedHelperText?: string;
    helperActionIcon?: string;
    helperActionText?: string;
    checked?: boolean;
    validationMessage?: string;
    value?: IHubSchedule;
}
export interface IHubSchedule {
    mode: ScheduleMode;
    cadence?: Cadence;
    hour?: number;
    day?: number;
    date?: number;
    month?: number;
    timezone?: string;
}
export interface IHubScheduleResponse {
    message: string;
    schedule?: IHubSchedule;
    error?: string;
    statusCode?: number;
}
