import type { IdentityProvider } from '../../../../../prisma/enums';
type createUsersAndConnectToOrgPropsType = {
    emailsToCreate: string[];
    identityProvider: IdentityProvider;
    identityProviderId: string | null;
};
export declare const createUsersAndConnectToOrg: ({ createUsersAndConnectToOrgProps, org, }: {
    createUsersAndConnectToOrgProps: createUsersAndConnectToOrgPropsType;
    org: {
        id: number;
        organizationSettings: {
            orgAutoAcceptEmail: string | null;
        } | null;
    };
}) => Promise<{
    id: number;
    email: string;
    organizationId: number | null;
    password: {
        hash: string;
    } | null;
    username: string | null;
    locale: string | null;
    completedOnboarding: boolean;
    identityProvider: import('../../../../../prisma-client').$Enums.IdentityProvider;
    profiles: {
        id: number;
        organizationId: number;
        userId: number;
        uid: string;
        username: string;
        createdAt: Date;
        updatedAt: Date;
    }[];
}[]>;
export default createUsersAndConnectToOrg;
//# sourceMappingURL=createUsersAndConnectToOrg.d.ts.map