import type { ScheduleOutput_2024_06_11 } from '../../../types/index.ts';
import type { User } from '../../../../prisma/client';
export declare function transformApiScheduleForAtom(user: Pick<User, "id" | "defaultScheduleId" | "timeZone"> | undefined, schedule: ScheduleOutput_2024_06_11 | null | undefined, userSchedulesCount: number): {
    id: number;
    name: string;
    isManaged: boolean;
    workingHours: import("@calcom/types/schedule").WorkingHours[];
    schedule: ({
        userId: number;
        scheduleId: number;
        days: number[];
        date: Date | null;
        id: number;
        startTime: Date;
        endTime: Date;
    } | {
        userId: number;
        scheduleId: number;
        days: number[];
        date: Date | null;
        id: number;
        startTime: Date;
        endTime: Date;
    })[];
    availability: {
        end: Date;
        userId?: number | null;
        start: Date;
    }[][];
    timeZone: string;
    dateOverrides: {
        ranges: import("@calcom/types/schedule").TimeRange[];
    }[];
    isDefault: boolean;
    isLastSchedule: boolean;
    readOnly: boolean;
} | null;
//# sourceMappingURL=transformApiScheduleForAtom.d.ts.map