import { z } from "zod"; import { type WebhookRule } from "../webhooks/webhookRules.js"; export declare const setWebhookInputSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodString; url: z.ZodString; patterns: z.ZodArray; events: z.ZodDefault, "many">>; secret: z.ZodOptional; enabled: z.ZodDefault; }, "strip", z.ZodTypeAny, { url: string; name: string; events: ("create" | "update")[]; patterns: string[]; enabled: boolean; id?: string | undefined; secret?: string | undefined; }, { url: string; name: string; patterns: string[]; id?: string | undefined; secret?: string | undefined; events?: ("create" | "update")[] | undefined; enabled?: boolean | undefined; }>; export type SetWebhookInput = z.infer; export declare function setWebhook(input: SetWebhookInput, userId: string): Promise; //# sourceMappingURL=setWebhook.d.ts.map