export declare class ScheduleRepository {
    static findScheduleById({ id }: {
        id: number;
    }): Promise<{
        id: number;
        name: string;
        userId: number;
        timeZone: string | null;
        availability: {
            date: Date | null;
            days: number[];
            id: number;
            eventTypeId: number | null;
            userId: number | null;
            scheduleId: number | null;
            startTime: Date;
            endTime: Date;
        }[];
    } | null>;
    static findDetailedScheduleById({ isManagedEventType, scheduleId, userId, defaultScheduleId, timeZone: userTimeZone, }: {
        timeZone: string;
        userId: number;
        defaultScheduleId: number | null;
        scheduleId?: number;
        isManagedEventType?: boolean;
    }): Promise<{
        id: number;
        name: string;
        isManaged: boolean;
        workingHours: import("@calcom/types/schedule").WorkingHours[];
        schedule: {
            date: Date | null;
            days: number[];
            id: number;
            eventTypeId: number | null;
            userId: number | null;
            scheduleId: number | null;
            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;
    }>;
}
//# sourceMappingURL=schedule.d.ts.map