import type { z } from "zod";
import type { TrpcSessionUser } from '../../../trpc/server/types';
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: {
            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: {
            id: number;
            metadata: import('../../../prisma-client').Prisma.JsonValue;
            members: {
                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;
            }[];
            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;
    }>;
}>;
export default getResponseWithFormFieldsHandler;
//# sourceMappingURL=getResponseWithFormFields.handler.d.ts.map