import type { Prisma } from '../../../../prisma-client';
import type { Logger } from "tslog";
import type { RoutingFormResponse } from '../../../../lib/server/getLuckyUser';
import type { CredentialForCalendarService } from "@calcom/types/Credential";
import type { NewBookingEventType } from "./getEventTypesFromDB";
import { loadUsers } from "./loadUsers";
export type UsersWithDelegationCredentials = (Omit<Awaited<ReturnType<typeof loadUsers>>[number], "credentials"> & {
    isFixed?: boolean;
    metadata?: Prisma.JsonValue;
    createdAt?: Date;
    credentials: CredentialForCalendarService[];
})[];
type EventType = Pick<NewBookingEventType, "hosts" | "users" | "id" | "userId" | "schedulingType" | "maxLeadThreshold" | "team" | "assignAllTeamMembers" | "assignRRMembersUsingSegment" | "rrSegmentQueryValue" | "isRRWeightsEnabled" | "rescheduleWithSameRoundRobinHost" | "teamId" | "includeNoShowInRRCalculation">;
type InputProps = {
    eventType: EventType;
    eventTypeId: number;
    dynamicUserList: string[];
    logger: Logger<unknown>;
    routedTeamMemberIds: number[] | null;
    contactOwnerEmail: string | null;
    rescheduleUid: string | null;
    routingFormResponse: RoutingFormResponse | null;
    isPlatform: boolean;
    hostname: string | undefined;
    forcedSlug: string | undefined;
};
export declare const loadAndValidateUsers: (args_0: InputProps) => Promise<{
    qualifiedRRUsers: UsersWithDelegationCredentials;
    additionalFallbackRRUsers: UsersWithDelegationCredentials;
    fixedUsers: UsersWithDelegationCredentials;
}>;
export {};
//# sourceMappingURL=loadAndValidateUsers.d.ts.map