import { type PrismaTransaction, type PrismaClient } from '../../../prisma';
import { MembershipRole } from '../../../prisma/client';
import { Prisma } from '../../../prisma/client';
type IMembership = {
    teamId: number;
    userId: number;
    accepted: boolean;
    role: MembershipRole;
    createdAt?: Date;
};
export declare class MembershipRepository {
    private readonly prismaClient;
    constructor(prismaClient?: PrismaClient);
    hasMembership({ userId, teamId }: {
        userId: number;
        teamId: number;
    }): Promise<boolean>;
    listAcceptedTeamMemberIds({ teamId }: {
        teamId: number;
    }): Promise<number[]>;
    static create(data: IMembership): Promise<{
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
    }>;
    static createMany(data: IMembership[]): Promise<import('../../../prisma-client/runtime/library').GetBatchResult>;
    /**
     * TODO: Using a specific function for specific tasks so that we don't have to focus on TS magic at the moment. May be try to make it a a generic findAllByProfileId with various options.
     */
    static findAllByUpIdIncludeTeamWithMembersAndEventTypes({ upId }: {
        upId: string;
    }, { where }?: {
        where?: Prisma.MembershipWhereInput;
    }): Promise<({
        team: {
            members: {
                id: number;
                role: import('../../../prisma-client').$Enums.MembershipRole;
                userId: number;
                teamId: number;
                disableImpersonation: boolean;
                accepted: boolean;
            }[];
            parent: {
                name: string;
                id: number;
                metadata: Prisma.JsonValue;
                slug: string | null;
                parentId: number | null;
                logoUrl: string | null;
            } | null;
            eventTypes: {
                users: {
                    name: string | null;
                    id: number;
                    username: string | null;
                    avatarUrl: string | null;
                }[];
                id: number;
                children: ({
                    users: {
                        name: string | null;
                        id: number;
                        username: string | null;
                        avatarUrl: string | null;
                    }[];
                } & {
                    id: number;
                    length: number;
                    title: string;
                    metadata: Prisma.JsonValue;
                    description: string | null;
                    price: number;
                    hidden: boolean;
                    currency: string;
                    slug: string;
                    userId: number | null;
                    interfaceLanguage: string | null;
                    position: number;
                    locations: Prisma.JsonValue;
                    offsetStart: number;
                    profileId: number | null;
                    teamId: number | null;
                    useEventLevelSelectedCalendars: boolean;
                    eventName: string | null;
                    parentId: number | null;
                    bookingFields: Prisma.JsonValue;
                    timeZone: string | null;
                    periodType: import('../../../prisma-client').$Enums.PeriodType;
                    periodStartDate: Date | null;
                    periodEndDate: Date | null;
                    periodDays: number | null;
                    periodCountCalendarDays: boolean | null;
                    lockTimeZoneToggleOnBookingPage: boolean;
                    requiresConfirmation: boolean;
                    requiresConfirmationWillBlockSlot: boolean;
                    requiresConfirmationForFreeEmail: boolean;
                    requiresBookerEmailVerification: boolean;
                    canSendCalVideoTranscriptionEmails: boolean;
                    autoTranslateDescriptionEnabled: boolean;
                    recurringEvent: Prisma.JsonValue;
                    disableGuests: boolean;
                    hideCalendarNotes: boolean;
                    hideCalendarEventDetails: boolean;
                    minimumBookingNotice: number;
                    beforeEventBuffer: number;
                    afterEventBuffer: number;
                    seatsPerTimeSlot: number | null;
                    onlyShowFirstAvailableSlot: boolean;
                    disableCancelling: boolean | null;
                    disableRescheduling: boolean | null;
                    seatsShowAttendees: boolean | null;
                    seatsShowAvailabilityCount: boolean | null;
                    schedulingType: import('../../../prisma-client').$Enums.SchedulingType | null;
                    scheduleId: number | null;
                    allowReschedulingCancelledBookings: boolean | null;
                    slotInterval: number | null;
                    successRedirectUrl: string | null;
                    forwardParamsSuccessRedirect: boolean | null;
                    bookingLimits: Prisma.JsonValue;
                    durationLimits: Prisma.JsonValue;
                    isInstantEvent: boolean;
                    instantMeetingExpiryTimeOffsetInSeconds: number;
                    instantMeetingScheduleId: number | null;
                    instantMeetingParameters: string[];
                    assignAllTeamMembers: boolean;
                    assignRRMembersUsingSegment: boolean;
                    rrSegmentQueryValue: Prisma.JsonValue;
                    useEventTypeDestinationCalendarEmail: boolean;
                    isRRWeightsEnabled: boolean;
                    maxLeadThreshold: number | null;
                    includeNoShowInRRCalculation: boolean;
                    allowReschedulingPastBookings: boolean;
                    hideOrganizerEmail: boolean;
                    maxActiveBookingsPerBooker: number | null;
                    maxActiveBookingPerBookerOfferReschedule: boolean;
                    customReplyToEmail: string | null;
                    eventTypeColor: Prisma.JsonValue;
                    rescheduleWithSameRoundRobinHost: boolean;
                    secondaryEmailId: number | null;
                    useBookerTimezone: boolean;
                    restrictionScheduleId: number | null;
                })[];
                length: number;
                title: string;
                metadata: Prisma.JsonValue;
                description: string | null;
                price: number;
                hidden: boolean;
                hosts: ({
                    user: {
                        name: string | null;
                        id: number;
                        username: string | null;
                        avatarUrl: string | null;
                    };
                } & {
                    weight: number | null;
                    userId: number;
                    eventTypeId: number;
                    scheduleId: number | null;
                    createdAt: Date;
                    isFixed: boolean;
                    priority: number | null;
                    weightAdjustment: number | null;
                })[];
                currency: string;
                slug: string;
                userId: number | null;
                interfaceLanguage: string | null;
                position: number;
                locations: Prisma.JsonValue;
                offsetStart: number;
                profileId: number | null;
                teamId: number | null;
                useEventLevelSelectedCalendars: boolean;
                eventName: string | null;
                parentId: number | null;
                bookingFields: Prisma.JsonValue;
                timeZone: string | null;
                periodType: import('../../../prisma-client').$Enums.PeriodType;
                periodStartDate: Date | null;
                periodEndDate: Date | null;
                periodDays: number | null;
                periodCountCalendarDays: boolean | null;
                lockTimeZoneToggleOnBookingPage: boolean;
                requiresConfirmation: boolean;
                requiresConfirmationWillBlockSlot: boolean;
                requiresConfirmationForFreeEmail: boolean;
                requiresBookerEmailVerification: boolean;
                canSendCalVideoTranscriptionEmails: boolean;
                autoTranslateDescriptionEnabled: boolean;
                recurringEvent: Prisma.JsonValue;
                disableGuests: boolean;
                hideCalendarNotes: boolean;
                hideCalendarEventDetails: boolean;
                minimumBookingNotice: number;
                beforeEventBuffer: number;
                afterEventBuffer: number;
                seatsPerTimeSlot: number | null;
                onlyShowFirstAvailableSlot: boolean;
                disableCancelling: boolean | null;
                disableRescheduling: boolean | null;
                seatsShowAttendees: boolean | null;
                seatsShowAvailabilityCount: boolean | null;
                schedulingType: import('../../../prisma-client').$Enums.SchedulingType | null;
                scheduleId: number | null;
                allowReschedulingCancelledBookings: boolean | null;
                slotInterval: number | null;
                successRedirectUrl: string | null;
                bookingLimits: Prisma.JsonValue;
                durationLimits: Prisma.JsonValue;
                isInstantEvent: boolean;
                instantMeetingExpiryTimeOffsetInSeconds: number;
                instantMeetingScheduleId: number | null;
                instantMeetingParameters: string[];
                assignAllTeamMembers: boolean;
                assignRRMembersUsingSegment: boolean;
                rrSegmentQueryValue: Prisma.JsonValue;
                useEventTypeDestinationCalendarEmail: boolean;
                isRRWeightsEnabled: boolean;
                maxLeadThreshold: number | null;
                allowReschedulingPastBookings: boolean;
                hideOrganizerEmail: boolean;
                customReplyToEmail: string | null;
                eventTypeColor: Prisma.JsonValue;
                rescheduleWithSameRoundRobinHost: boolean;
                secondaryEmailId: number | null;
                useBookerTimezone: boolean;
                restrictionScheduleId: number | null;
                hashedLink: {
                    link: string;
                    id: number;
                    eventTypeId: number;
                }[];
                instantMeetingSchedule: {
                    name: string;
                    id: number;
                } | null;
                aiPhoneCallConfig: {
                    id: number;
                    enabled: boolean;
                    eventTypeId: number;
                    templateType: string;
                    schedulerName: string | null;
                    generalPrompt: string | null;
                    yourPhoneNumber: string;
                    numberToCall: string;
                    guestName: string | null;
                    guestEmail: string | null;
                    guestCompany: string | null;
                    beginMessage: string | null;
                    llmId: string | null;
                } | null;
            }[];
        } & {
            name: string;
            id: number;
            metadata: Prisma.JsonValue;
            bio: string | null;
            theme: string | null;
            slug: string | null;
            parentId: number | null;
            timeZone: string;
            bookingLimits: Prisma.JsonValue;
            createdAt: Date;
            weekStart: string;
            hideBranding: boolean;
            timeFormat: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
            smsLockReviewedByAdmin: boolean;
            logoUrl: string | null;
            calVideoLogo: string | null;
            appLogo: string | null;
            appIconLogo: string | null;
            hideTeamProfileLink: boolean;
            isPrivate: boolean;
            hideBookATeamMember: boolean;
            rrResetInterval: import('../../../prisma-client').$Enums.RRResetInterval | null;
            rrTimestampBasis: import('../../../prisma-client').$Enums.RRTimestampBasis;
            bannerUrl: string | null;
            isOrganization: boolean;
            pendingPayment: boolean;
            isPlatform: boolean;
            createdByOAuthClientId: string | null;
            includeManagedEventsInLimits: boolean;
        };
    } & {
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
    })[]>;
    static findAllByUpIdIncludeMinimalEventTypes({ upId }: {
        upId: string;
    }, { where, skipEventTypes }?: {
        where?: Prisma.MembershipWhereInput;
        skipEventTypes?: boolean;
    }): Promise<{
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        team: {
            name: string;
            id: number;
            metadata: Prisma.JsonValue;
            slug: string | null;
            parentId: number | null;
            parent: {
                name: string;
                id: number;
                metadata: Prisma.JsonValue;
                slug: string | null;
                parentId: number | null;
                logoUrl: string | null;
            } | null;
            eventTypes: {
                id: number;
                length: number;
                title: string;
                metadata: Prisma.JsonValue;
                description: string | null;
                price: number;
                hidden: boolean;
                currency: string;
                slug: string;
                userId: number | null;
                interfaceLanguage: string | null;
                position: number;
                locations: Prisma.JsonValue;
                offsetStart: number;
                profileId: number | null;
                teamId: number | null;
                useEventLevelSelectedCalendars: boolean;
                eventName: string | null;
                parentId: number | null;
                bookingFields: Prisma.JsonValue;
                timeZone: string | null;
                periodType: import('../../../prisma-client').$Enums.PeriodType;
                periodStartDate: Date | null;
                periodEndDate: Date | null;
                periodDays: number | null;
                periodCountCalendarDays: boolean | null;
                lockTimeZoneToggleOnBookingPage: boolean;
                requiresConfirmation: boolean;
                requiresConfirmationWillBlockSlot: boolean;
                requiresConfirmationForFreeEmail: boolean;
                requiresBookerEmailVerification: boolean;
                canSendCalVideoTranscriptionEmails: boolean;
                autoTranslateDescriptionEnabled: boolean;
                recurringEvent: Prisma.JsonValue;
                disableGuests: boolean;
                hideCalendarNotes: boolean;
                hideCalendarEventDetails: boolean;
                minimumBookingNotice: number;
                beforeEventBuffer: number;
                afterEventBuffer: number;
                seatsPerTimeSlot: number | null;
                onlyShowFirstAvailableSlot: boolean;
                disableCancelling: boolean | null;
                disableRescheduling: boolean | null;
                seatsShowAttendees: boolean | null;
                seatsShowAvailabilityCount: boolean | null;
                schedulingType: import('../../../prisma-client').$Enums.SchedulingType | null;
                scheduleId: number | null;
                allowReschedulingCancelledBookings: boolean | null;
                slotInterval: number | null;
                successRedirectUrl: string | null;
                forwardParamsSuccessRedirect: boolean | null;
                bookingLimits: Prisma.JsonValue;
                durationLimits: Prisma.JsonValue;
                isInstantEvent: boolean;
                instantMeetingExpiryTimeOffsetInSeconds: number;
                instantMeetingScheduleId: number | null;
                instantMeetingParameters: string[];
                assignAllTeamMembers: boolean;
                assignRRMembersUsingSegment: boolean;
                rrSegmentQueryValue: Prisma.JsonValue;
                useEventTypeDestinationCalendarEmail: boolean;
                isRRWeightsEnabled: boolean;
                maxLeadThreshold: number | null;
                includeNoShowInRRCalculation: boolean;
                allowReschedulingPastBookings: boolean;
                hideOrganizerEmail: boolean;
                maxActiveBookingsPerBooker: number | null;
                maxActiveBookingPerBookerOfferReschedule: boolean;
                customReplyToEmail: string | null;
                eventTypeColor: Prisma.JsonValue;
                rescheduleWithSameRoundRobinHost: boolean;
                secondaryEmailId: number | null;
                useBookerTimezone: boolean;
                restrictionScheduleId: number | null;
            }[];
            logoUrl: string | null;
            isOrganization: boolean;
        };
        userId: number;
        teamId: number;
        disableImpersonation: boolean;
        accepted: boolean;
    }[]>;
    static findAllByUpIdIncludeTeam({ upId }: {
        upId: string;
    }, { where }?: {
        where?: Prisma.MembershipWhereInput;
    }): Promise<({
        team: {
            parent: {
                name: string;
                id: number;
                metadata: Prisma.JsonValue;
                slug: string | null;
                parentId: number | null;
                logoUrl: string | null;
            } | null;
        } & {
            name: string;
            id: number;
            metadata: Prisma.JsonValue;
            bio: string | null;
            theme: string | null;
            slug: string | null;
            parentId: number | null;
            timeZone: string;
            bookingLimits: Prisma.JsonValue;
            createdAt: Date;
            weekStart: string;
            hideBranding: boolean;
            timeFormat: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
            smsLockReviewedByAdmin: boolean;
            logoUrl: string | null;
            calVideoLogo: string | null;
            appLogo: string | null;
            appIconLogo: string | null;
            hideTeamProfileLink: boolean;
            isPrivate: boolean;
            hideBookATeamMember: boolean;
            rrResetInterval: import('../../../prisma-client').$Enums.RRResetInterval | null;
            rrTimestampBasis: import('../../../prisma-client').$Enums.RRTimestampBasis;
            bannerUrl: string | null;
            isOrganization: boolean;
            pendingPayment: boolean;
            isPlatform: boolean;
            createdByOAuthClientId: string | null;
            includeManagedEventsInLimits: boolean;
        };
    } & {
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
    })[]>;
    static findUniqueByUserIdAndTeamId({ userId, teamId }: {
        userId: number;
        teamId: number;
    }): Promise<{
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
    } | null>;
    static findByTeamIdForAvailability({ teamId }: {
        teamId: number;
    }): Promise<{
        user: 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;
            }[];
        };
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
    }[]>;
    static findMembershipsForBothOrgAndTeam({ orgId, teamId }: {
        orgId: number;
        teamId: number;
    }): Promise<{
        teamMemberships: {
            id: number;
            role: import('../../../prisma-client').$Enums.MembershipRole;
            userId: number;
            teamId: number;
            createdAt: Date | null;
            updatedAt: Date | null;
            disableImpersonation: boolean;
            accepted: boolean;
            customRoleId: string | null;
        }[];
        orgMemberships: {
            id: number;
            role: import('../../../prisma-client').$Enums.MembershipRole;
            userId: number;
            teamId: number;
            createdAt: Date | null;
            updatedAt: Date | null;
            disableImpersonation: boolean;
            accepted: boolean;
            customRoleId: string | null;
        }[];
    }>;
    static getAdminOrOwnerMembership(userId: number, teamId: number): Promise<{
        id: number;
    } | null>;
    static findAllAcceptedMemberships(userId: number, tx?: PrismaTransaction): Promise<{
        teamId: number;
    }[]>;
    /**
     * Get all team IDs that a user is a member of
     */
    static findUserTeamIds({ userId }: {
        userId: number;
    }): Promise<number[]>;
    /**
     * Returns members who joined after the given time
     */
    static findMembershipsCreatedAfterTimeIncludeUser({ organizationId, time, }: {
        organizationId: number;
        time: Date;
    }): Promise<({
        user: {
            name: string | null;
            id: number;
            email: string;
        };
    } & {
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        userId: number;
        teamId: number;
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
    })[]>;
    static findAllByTeamIds({ teamIds, select, }: {
        teamIds: number[];
        select?: Prisma.MembershipSelect;
    }): Promise<{
        user: {
            name: string | null;
            id: number;
            role: import('../../../prisma-client').$Enums.UserPermissionRole;
            metadata: Prisma.JsonValue;
            username: string | null;
            email: string;
            bio: string | null;
            theme: string | null;
            verified: boolean | null;
            locked: boolean;
            organizationId: number | null;
            locale: string | null;
            timeZone: string;
            startTime: number;
            endTime: number;
            creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
            movedToProfileId: number | null;
            emailVerified: Date | null;
            avatarUrl: string | null;
            weekStart: string;
            bufferTime: number;
            hideBranding: boolean;
            appTheme: string | null;
            createdDate: Date;
            trialEndsAt: Date | null;
            lastActiveAt: Date | null;
            defaultScheduleId: number | null;
            completedOnboarding: boolean;
            timeFormat: number | null;
            twoFactorSecret: string | null;
            twoFactorEnabled: boolean;
            backupCodes: string | null;
            identityProvider: import('../../../prisma-client').$Enums.IdentityProvider;
            identityProviderId: string | null;
            invitedTo: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            allowDynamicBooking: boolean | null;
            allowSEOIndexing: boolean | null;
            receiveMonthlyDigestEmail: boolean | null;
            disableImpersonation: boolean;
            isPlatformManaged: boolean;
            smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
            smsLockReviewedByAdmin: boolean;
            referralLinkId: string | null;
            whitelistWorkflows: boolean;
        };
        id: number;
        role: import('../../../prisma-client').$Enums.MembershipRole;
        team: {
            name: string;
            id: number;
            metadata: Prisma.JsonValue;
            bio: string | null;
            theme: string | null;
            slug: string | null;
            parentId: number | null;
            timeZone: string;
            bookingLimits: Prisma.JsonValue;
            createdAt: Date;
            weekStart: string;
            hideBranding: boolean;
            timeFormat: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
            smsLockReviewedByAdmin: boolean;
            logoUrl: string | null;
            calVideoLogo: string | null;
            appLogo: string | null;
            appIconLogo: string | null;
            hideTeamProfileLink: boolean;
            isPrivate: boolean;
            hideBookATeamMember: boolean;
            rrResetInterval: import('../../../prisma-client').$Enums.RRResetInterval | null;
            rrTimestampBasis: import('../../../prisma-client').$Enums.RRTimestampBasis;
            bannerUrl: string | null;
            isOrganization: boolean;
            pendingPayment: boolean;
            isPlatform: boolean;
            createdByOAuthClientId: string | null;
            includeManagedEventsInLimits: boolean;
        };
        userId: number;
        teamId: number;
        _count: {
            customRole: number;
            team: number;
            user: number;
            AttributeToUser: number;
        };
        AttributeToUser: {
            id: string;
            weight: number | null;
            createdAt: Date;
            updatedAt: Date | null;
            createdById: number | null;
            updatedById: number | null;
            memberId: number;
            attributeOptionId: string;
            createdByDSyncId: string | null;
            updatedByDSyncId: string | null;
        }[];
        createdAt: Date | null;
        updatedAt: Date | null;
        disableImpersonation: boolean;
        accepted: boolean;
        customRoleId: string | null;
        customRole: {
            name: string;
            id: string;
            type: import('../../../prisma-client').$Enums.RoleType;
            description: string | null;
            teamId: number | null;
            createdAt: Date;
            updatedAt: Date;
        } | null;
    }[]>;
}
export {};
//# sourceMappingURL=membership.d.ts.map