import type { Prisma } from '../../prisma-client';
export declare function findUsersForAvailabilityCheck({ where }: {
    where: Prisma.UserWhereInput;
}): Promise<(Omit<Omit<{
    schedules: {
        id: number;
        availability: {
            days: number[];
            date: Date | null;
            startTime: Date;
            endTime: Date;
        }[];
        timeZone: string | null;
    }[];
    id: number;
    username: string | null;
    email: string;
    availability: {
        id: number;
        days: number[];
        date: Date | null;
        userId: number | null;
        eventTypeId: number | null;
        scheduleId: number | null;
        startTime: Date;
        endTime: Date;
    }[];
    credentials: {
        key: Prisma.JsonValue;
        user: {
            email: string;
        } | null;
        id: number;
        type: string;
        userId: number | null;
        teamId: number | null;
        delegationCredentialId: string | null;
        appId: string | null;
        invalid: boolean | null;
    }[];
    timeZone: string;
    selectedCalendars: {
        error: string | null;
        id: string;
        userId: number;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
        googleChannelId: string | null;
        googleChannelKind: string | null;
        googleChannelResourceId: string | null;
        googleChannelResourceUri: string | null;
        googleChannelExpiration: string | null;
        lastErrorAt: Date | null;
        watchAttempts: number;
        unwatchAttempts: number;
        maxAttempts: number;
    }[];
    startTime: number;
    endTime: number;
    bufferTime: number;
    defaultScheduleId: number | null;
    timeFormat: number | null;
    travelSchedules: {
        id: number;
        userId: number;
        timeZone: string;
        startDate: Date;
        endDate: Date | null;
        prevTimeZone: string | null;
    }[];
}, "selectedCalendars"> & {
    allSelectedCalendars: {
        error: string | null;
        id: string;
        userId: number;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
        googleChannelId: string | null;
        googleChannelKind: string | null;
        googleChannelResourceId: string | null;
        googleChannelResourceUri: string | null;
        googleChannelExpiration: string | null;
        lastErrorAt: Date | null;
        watchAttempts: number;
        unwatchAttempts: number;
        maxAttempts: number;
    }[];
    userLevelSelectedCalendars: {
        error: string | null;
        id: string;
        userId: number;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
        googleChannelId: string | null;
        googleChannelKind: string | null;
        googleChannelResourceId: string | null;
        googleChannelResourceUri: string | null;
        googleChannelExpiration: string | null;
        lastErrorAt: Date | null;
        watchAttempts: number;
        unwatchAttempts: number;
        maxAttempts: number;
    }[];
}, "credentials"> & {
    credentials: import("@calcom/types/Credential").CredentialForCalendarService[];
}) | null>;
//# sourceMappingURL=findUsersForAvailabilityCheck.d.ts.map