import type { AppGetServerSidePropsContext, AppPrisma, AppUser } from "@calcom/types/AppGetServerSideProps";
export declare const getServerSidePropsForSingleFormView: (context: AppGetServerSidePropsContext, prisma: AppPrisma, user: AppUser) => Promise<{
    redirect: {
        permanent: boolean;
        destination: string;
    };
    notFound?: undefined;
    props?: undefined;
} | {
    notFound: boolean;
    redirect?: undefined;
    props?: undefined;
} | {
    props: {
        form: import("../types/types").SerializableForm<{
            team: {
                slug: string | null;
                name: string;
            } | null;
            _count: {
                responses: number;
            };
            settings: import('../../../prisma-client').Prisma.JsonValue;
            name: string;
            id: string;
            description: string | null;
            disabled: boolean;
            userId: number;
            fields: import('../../../prisma-client').Prisma.JsonValue;
            routes: import('../../../prisma-client').Prisma.JsonValue;
            position: number;
            teamId: number | null;
            createdAt: Date;
            updatedAt: Date;
            updatedById: number | null;
        }>;
        enrichedWithUserProfileForm: import("../types/types").SerializableForm<{
            user: {
                id: number;
                metadata: import('../../../prisma-client').Prisma.JsonValue;
                username: string | null;
                organization: {
                    slug: string | null;
                } | null;
                theme: string | null;
                movedToProfileId: number | null;
                brandColor: string | null;
                darkBrandColor: string | null;
            } & {
                nonProfileUsername: string | null;
                profile: import("@calcom/types/UserProfile").UserProfile;
            };
            team: {
                name: string;
                metadata: import('../../../prisma-client').Prisma.JsonValue;
                slug: string | null;
                parentId: number | null;
                parent: {
                    slug: string | null;
                } | null;
            } | null;
            _count: {
                responses: number;
            };
            settings: import('../../../prisma-client').Prisma.JsonValue;
            name: string;
            id: string;
            description: string | null;
            disabled: boolean;
            userId: number;
            fields: import('../../../prisma-client').Prisma.JsonValue;
            routes: import('../../../prisma-client').Prisma.JsonValue;
            position: number;
            teamId: number | null;
            createdAt: Date;
            updatedAt: Date;
            updatedById: number | null;
        } & {
            user: {
                metadata: {
                    proPaidForByTeamId?: number | undefined;
                    stripeCustomerId?: string | undefined;
                    vitalSettings?: {
                        connected?: boolean | undefined;
                        selectedParam?: string | undefined;
                        sleepValue?: number | undefined;
                    } | undefined;
                    isPremium?: boolean | undefined;
                    sessionTimeout?: number | undefined;
                    defaultConferencingApp?: {
                        appSlug?: string | undefined;
                        appLink?: string | undefined;
                    } | undefined;
                    defaultBookerLayouts?: {
                        enabledLayouts: import('../../../prisma/zod-utils').BookerLayouts[];
                        defaultLayout: import('../../../prisma/zod-utils').BookerLayouts;
                    } | null | undefined;
                    emailChangeWaitingForVerification?: string | undefined;
                    migratedToOrgFrom?: {
                        username?: string | null | undefined;
                        lastMigrationTime?: string | undefined;
                        reverted?: boolean | undefined;
                        revertTime?: string | undefined;
                    } | undefined;
                } | null;
                movedToProfileId: number | null;
                username: string | null;
                nonProfileUsername: string | null;
                profile: {
                    organization: {
                        slug: string | null;
                    } | null;
                };
            };
            team: {
                metadata: {
                    defaultConferencingApp?: {
                        appSlug?: string | undefined;
                        appLink?: string | undefined;
                    } | undefined;
                    requestedSlug?: string | null | undefined;
                    paymentId?: string | undefined;
                    subscriptionId?: string | null | undefined;
                    subscriptionItemId?: string | null | undefined;
                    orgSeats?: number | null | undefined;
                    orgPricePerSeat?: number | null | undefined;
                    migratedToOrgFrom?: {
                        teamSlug?: string | null | undefined;
                        lastMigrationTime?: string | undefined;
                        reverted?: boolean | undefined;
                        lastRevertTime?: string | undefined;
                    } | undefined;
                    billingPeriod?: import('../../../prisma/zod-utils').BillingPeriod | undefined;
                } | null;
                parent?: {
                    slug: string | null;
                } | null | undefined;
            };
            userOrigin: string;
            teamOrigin: string;
            nonOrgUsername: string | null;
            nonOrgTeamslug: string | null;
        }>;
    };
    redirect?: undefined;
    notFound?: undefined;
}>;
//# sourceMappingURL=getServerSidePropsSingleForm.d.ts.map