import { CalendarDate } from '../../../helpers/calendar';
import { BackgroundColorsTokenType } from '../../../types/design-token.type';
import { Nullable } from '../../../types/general';
export declare enum DateDirection {
  PREVIOUS = "-1",
  NEXT = "1"
}
/**
 * The function `getTimeIndex` calculates the index of a given time string based on a specified time unit.
 *
 * @param {string} timeString - A string representing a time in the format "HH:MM", where HH is the hour and MM is the minutes.
 * @param {number} [unit=15] - The `unit` parameter in the `getTimeIndex` function is used to specify
 * the interval in minutes for dividing the day. By default, it is set to 15 minutes, meaning that the
 * day will be divided into 15-minute intervals.
 * @returns {number} the index of the given time string based on the specified time unit.
 */
export declare function getTimeIndex(timeString: string, unit?: number): number;
/**
 * Returns a string that includes the event key for a calendar event slot.
 *
 * @param {string} eventKey - represents the key or identifier of a calendar event.
 * @returns {string} a string that is a concatenation of 'vega-calendar-event-slot-' and the eventKey parameter.
 */
export declare function getCalendarEventSlotName(eventKey: string): string;
/**
 * Returns the closest workday to a given calendar date based on a specified direction.
 *
 * @param {Date} date - The starting date from which you want to find the closest workday.
 * @param {'-1' | '1'} [direction=1] - Determines whether to find the closest workday in the past or future. It can have two possible values:
 * @returns {CalendarDate} The closest workday to the input date
 */
export declare function getClosestWorkday(date: CalendarDate, direction?: DateDirection): CalendarDate;
/**
 * Get event status background color.
 *
 * @param {Nullable<string | BackgroundColorsTokenType>} color the background color
 * @returns {string} background color style string
 */
export declare function getEventStatusBgColorStyle(color?: Nullable<string | BackgroundColorsTokenType>): string;
