import { z } from "zod";
import type { FORM_SUBMITTED_WEBHOOK_RESPONSES } from '../../../../app-store/routing-forms/trpc/utils';
export type ResponseData = {
    responseId: number;
    responses: FORM_SUBMITTED_WEBHOOK_RESPONSES;
    form: {
        id: string;
        name: string;
        teamId: number | null;
    };
    redirect?: {
        type: "customPageMessage" | "externalRedirectUrl" | "eventTypeRedirectUrl";
        value: string;
    };
};
export declare const ZTriggerFormSubmittedNoEventWebhookPayloadSchema: z.ZodObject<{
    webhook: z.ZodObject<{
        subscriberUrl: z.ZodString;
        appId: z.ZodNullable<z.ZodString>;
        payloadTemplate: z.ZodNullable<z.ZodString>;
        secret: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        secret: string | null;
        appId: string | null;
        subscriberUrl: string;
        payloadTemplate: string | null;
    }, {
        secret: string | null;
        appId: string | null;
        subscriberUrl: string;
        payloadTemplate: string | null;
    }>;
    responseId: z.ZodNumber;
    responses: z.ZodAny;
    redirect: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<["customPageMessage", "externalRedirectUrl", "eventTypeRedirectUrl"]>;
        value: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "customPageMessage" | "externalRedirectUrl" | "eventTypeRedirectUrl";
        value: string;
    }, {
        type: "customPageMessage" | "externalRedirectUrl" | "eventTypeRedirectUrl";
        value: string;
    }>>;
    form: z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        teamId: z.ZodNullable<z.ZodNumber>;
        fields: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            label: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
            label: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
            label: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>, "many">>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        fields: z.objectOutputType<{
            id: z.ZodString;
            label: z.ZodString;
        }, z.ZodTypeAny, "passthrough">[] | null;
        teamId: number | null;
    }, {
        name: string;
        id: string;
        teamId: number | null;
        fields?: z.objectInputType<{
            id: z.ZodString;
            label: z.ZodString;
        }, z.ZodTypeAny, "passthrough">[] | null | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    webhook: {
        secret: string | null;
        appId: string | null;
        subscriberUrl: string;
        payloadTemplate: string | null;
    };
    form: {
        name: string;
        id: string;
        fields: z.objectOutputType<{
            id: z.ZodString;
            label: z.ZodString;
        }, z.ZodTypeAny, "passthrough">[] | null;
        teamId: number | null;
    };
    responseId: number;
    responses?: any;
    redirect?: {
        type: "customPageMessage" | "externalRedirectUrl" | "eventTypeRedirectUrl";
        value: string;
    } | undefined;
}, {
    webhook: {
        secret: string | null;
        appId: string | null;
        subscriberUrl: string;
        payloadTemplate: string | null;
    };
    form: {
        name: string;
        id: string;
        teamId: number | null;
        fields?: z.objectInputType<{
            id: z.ZodString;
            label: z.ZodString;
        }, z.ZodTypeAny, "passthrough">[] | null | undefined;
    };
    responseId: number;
    responses?: any;
    redirect?: {
        type: "customPageMessage" | "externalRedirectUrl" | "eventTypeRedirectUrl";
        value: string;
    } | undefined;
}>;
export declare function triggerFormSubmittedNoEventWebhook(payload: string): Promise<void>;
//# sourceMappingURL=triggerFormSubmittedNoEventWebhook.d.ts.map