import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type WebhookConfig = { /** * The URL to send the webhook events to. */ url: string; /** * JSON string of custom HTTP headers to include with every webhook request. Header names must be valid HTTP header tokens (alphanumeric, hyphens, underscores). Reserved headers (Content-Type, Host, etc.) cannot be overridden. */ customHeaders?: string | undefined; }; /** @internal */ export declare const WebhookConfig$inboundSchema: z.ZodType; /** @internal */ export type WebhookConfig$Outbound = { url: string; custom_headers?: string | undefined; }; /** @internal */ export declare const WebhookConfig$outboundSchema: z.ZodType; export declare function webhookConfigToJSON(webhookConfig: WebhookConfig): string; export declare function webhookConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookconfig.d.ts.map