import type { GetServerSidePropsContext } from "next";
export declare const getRoutedUrl: (context: Pick<GetServerSidePropsContext, "query" | "req">) => Promise<{
    notFound: boolean;
    props?: undefined;
    redirect?: undefined;
} | {
    props: {
        form: import('../../app-store/routing-forms/types/types').SerializableForm<{
            user: {
                id: number;
                metadata: import('../../prisma-client').Prisma.JsonValue;
                username: string | null;
                email: string;
                organization: {
                    slug: string | null;
                } | null;
                movedToProfileId: number | null;
            } & {
                nonProfileUsername: string | null;
                profile: import("@calcom/types/UserProfile").UserProfile;
            };
            team: {
                metadata: import('../../prisma-client').Prisma.JsonValue;
                slug: string | null;
                parentId: number | null;
                parent: {
                    slug: string | null;
                } | null;
            } | null;
            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;
        }>;
        message: null;
        errorMessage: string;
        isEmbed: boolean;
    };
    notFound?: undefined;
    redirect?: undefined;
} | {
    props: {
        form: import('../../app-store/routing-forms/types/types').SerializableForm<{
            user: {
                id: number;
                metadata: import('../../prisma-client').Prisma.JsonValue;
                username: string | null;
                email: string;
                organization: {
                    slug: string | null;
                } | null;
                movedToProfileId: number | null;
            } & {
                nonProfileUsername: string | null;
                profile: import("@calcom/types/UserProfile").UserProfile;
            };
            team: {
                metadata: import('../../prisma-client').Prisma.JsonValue;
                slug: string | null;
                parentId: number | null;
                parent: {
                    slug: string | null;
                } | null;
            } | null;
            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;
        }>;
        message: string;
        errorMessage: null;
        isEmbed: boolean;
    };
    notFound?: undefined;
    redirect?: undefined;
} | {
    redirect: {
        destination: string;
        permanent: boolean;
    };
    notFound?: undefined;
    props?: undefined;
}>;
//# sourceMappingURL=getRoutedUrl.d.ts.map