import type { Prisma } from '../../../prisma-client';
import type { App_RoutingForms_Form } from '../../../prisma/client';
import type { SerializableForm } from "../types/types";
export type TargetRoutingFormForResponse = SerializableForm<App_RoutingForms_Form & {
    user: {
        id: number;
        email: string;
    };
    team: {
        parentId: number | null;
    } | null;
}>;
/**
 * A wrapper over onFormSubmission that handles building the data needed for onFormSubmission
 */
export declare const onSubmissionOfFormResponse: ({ form, formResponseInDb, chosenRouteAction, }: {
    form: TargetRoutingFormForResponse;
    formResponseInDb: {
        id: number;
        response: Prisma.JsonValue;
    };
    chosenRouteAction: {
        type: "customPageMessage" | "externalRedirectUrl" | "eventTypeRedirectUrl";
        value: string;
    } | null;
}) => Promise<void>;
//# sourceMappingURL=formSubmissionUtils.d.ts.map