import type { Availability } from '../prisma-client';
import type { ConfigType } from '../dayjs';
import type { Schedule, TimeRange, WorkingHours } from "@calcom/types/schedule";
export declare const defaultDayRange: TimeRange;
export declare const DEFAULT_SCHEDULE: Schedule;
export declare function getAvailabilityFromSchedule(schedule: Schedule): Availability[];
export declare const MINUTES_IN_DAY: number;
export declare const MINUTES_DAY_END: number;
export declare const MINUTES_DAY_START = 0;
/**
 * Allows "casting" availability (days, startTime, endTime) given in UTC to a timeZone or utcOffset
 */
export declare function getWorkingHours(relativeTimeUnit: {
    timeZone?: string;
    utcOffset?: number;
}, availability: {
    userId?: number | null;
    days: number[];
    startTime: ConfigType;
    endTime: ConfigType;
}[]): WorkingHours[];
export declare function availabilityAsString(availability: Pick<Availability, "days" | "startTime" | "endTime">, { locale, hour12 }: {
    locale?: string;
    hour12?: boolean;
}): string;
//# sourceMappingURL=availability.d.ts.map