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;
    username: string | null;
    email: string;
    password: {
        hash: string;
    } | null;
    organizationId: number | null;
    locale: string | null;
    completedOnboarding: boolean;
    identityProvider: import('../../../../../prisma-client').$Enums.IdentityProvider;
    profiles: {
        id: number;
        username: string;
        uid: string;
        organizationId: number;
        userId: number;
        createdAt: Date;
        updatedAt: Date;
    }[];
}[]>;
export default createUsersAndConnectToOrg;
//# sourceMappingURL=createUsersAndConnectToOrg.d.ts.map