import type { Team, User, OrganizationSettings } from '../../../../prisma/client';
export declare const createOrUpdateMemberships: ({ user, team, }: {
    user: Pick<User, "id">;
    team: Pick<Team, "id" | "parentId" | "isOrganization"> & {
        organizationSettings?: Pick<OrganizationSettings, "orgAutoAcceptEmail"> | null;
    };
}) => Promise<{
    membership: {
        id: number;
        role: import('../../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        disableImpersonation: boolean;
        accepted: boolean;
    };
    orgMembership: null;
}>;
//# sourceMappingURL=createOrUpdateMemberships.d.ts.map