import type { Prisma } from '../../../../../prisma/client';
import type { OrganizationOnboarding } from '../../../../../prisma/client';
type OrganizationOnboardingArg = Pick<OrganizationOnboarding, "id" | "organizationId" | "name" | "slug" | "orgOwnerEmail" | "seats" | "pricePerSeat" | "billingPeriod" | "invitedMembers" | "teams" | "isPlatform" | "logo" | "bio" | "stripeCustomerId" | "isDomainConfigured">;
/**
 * This function is used by stripe webhook, so it should expect to be called multiple times till the entire flow completes without any error.
 * So, it should be idempotent.
 */
export declare const createOrganizationFromOnboarding: ({ organizationOnboarding, paymentSubscriptionId, paymentSubscriptionItemId, }: {
    organizationOnboarding: OrganizationOnboardingArg;
    paymentSubscriptionId?: string;
    paymentSubscriptionItemId?: string;
}) => Promise<{
    organization: {
        metadata: Prisma.JsonValue;
        name: string;
        id: number;
        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;
    };
    owner: {
        teams: {
            team: {
                slug: string | null;
                isOrganization: boolean;
                isPlatform: boolean;
            };
            accepted: boolean;
        }[];
    } & {
        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;
    } & {
        nonProfileUsername: string | null;
        profile: import("@calcom/types/UserProfile").UserProfile;
    };
}>;
export {};
//# sourceMappingURL=createOrganizationFromOnboarding.d.ts.map