import type { z } from "zod";
import type { TrpcSessionUser } from '../../../trpc/server/trpc';
import type { FormResponse } from "../types/types";
import type { ZFormByResponseIdInputSchema } from "./_router";
type GetResponseWithFormFieldsOptions = {
    ctx: {
        user: NonNullable<TrpcSessionUser>;
    };
    input: z.infer<typeof ZFormByResponseIdInputSchema>;
};
declare function getResponseWithFormFieldsHandler({ ctx, input }: GetResponseWithFormFieldsOptions): Promise<{
    response: FormResponse;
    form: import("../types/types").SerializableForm<{
        user: {
            metadata: import('../../../prisma-client').Prisma.JsonValue;
            theme: string | null;
            id: number;
            username: string | null;
            movedToProfileId: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            organization: {
                slug: string | null;
            } | null;
        } & {
            nonProfileUsername: string | null;
            profile: import("@calcom/types/UserProfile").UserProfile;
        };
        team: {
            metadata: import('../../../prisma-client').Prisma.JsonValue;
            id: number;
            parent: {
                slug: string | null;
            } | null;
            slug: string | null;
            parentId: number | null;
            members: {
                id: number;
                userId: number;
                teamId: number;
                role: import('../../../prisma-client').$Enums.MembershipRole;
                disableImpersonation: boolean;
                accepted: boolean;
            }[];
        } | null;
        position: number;
        id: string;
        name: string;
        disabled: boolean;
        description: string | null;
        routes: import('../../../prisma-client').Prisma.JsonValue;
        fields: import('../../../prisma-client').Prisma.JsonValue;
        userId: number;
        teamId: number | null;
        createdAt: Date;
        updatedAt: Date;
        settings: import('../../../prisma-client').Prisma.JsonValue;
    } & {
        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: {
                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;
    }>;
}>;
export default getResponseWithFormFieldsHandler;
//# sourceMappingURL=getResponseWithFormFields.handler.d.ts.map