import type { PrismaClient } from '../../../../../prisma';
import type { TResponseInputSchema } from "./response.schema";
interface ResponseHandlerOptions {
    ctx: {
        prisma: PrismaClient;
    };
    input: TResponseInputSchema;
}
export declare const responseHandler: ({ ctx, input }: ResponseHandlerOptions) => Promise<{
    isPreview: boolean;
    formResponse: {
        id: number;
        response: import('../../../../../prisma-client').Prisma.JsonValue;
        createdAt: Date;
        formFillerId: string;
        formId: string;
        routedToBookingUid: string | null;
        chosenRouteId: string | null;
    } | {
        id: number;
        formId: string;
        response: Record<string, {
            label: string;
            value: (string | number | string[]) & (string | number | string[] | undefined);
            identifier?: string | undefined;
        }>;
        chosenRouteId: string | null;
        createdAt: Date;
        updatedAt: Date;
    };
    teamMembersMatchingAttributeLogic: number[] | null;
    attributeRoutingConfig: {
        skipContactOwner?: boolean | undefined;
        salesforce?: {
            rrSkipToAccountLookupField?: boolean | undefined;
            rrSKipToAccountLookupFieldName?: string | undefined;
        } | undefined;
    } | null | undefined;
    timeTaken: Record<string, number | null>;
}>;
export default responseHandler;
//# sourceMappingURL=response.handler.d.ts.map