import * as z from "zod/v4-mini";
import { WebhookEventType } from "./webhookeventtype.js";
import { WebhookFormat } from "./webhookformat.js";
/**
 * Schema to create a webhook endpoint.
 */
export type WebhookEndpointCreate = {
    /**
     * The URL where the webhook events will be sent.
     */
    url: string;
    /**
     * An optional name for the webhook endpoint to help organize and identify it.
     */
    name?: string | null | undefined;
    format: WebhookFormat;
    /**
     * The events that will trigger the webhook.
     */
    events: Array<WebhookEventType>;
    /**
     * The organization ID associated with the webhook endpoint. **Required unless you use an organization token.**
     */
    organizationId?: string | null | undefined;
};
/** @internal */
export type WebhookEndpointCreate$Outbound = {
    url: string;
    name?: string | null | undefined;
    format: string;
    events: Array<string>;
    organization_id?: string | null | undefined;
};
/** @internal */
export declare const WebhookEndpointCreate$outboundSchema: z.ZodMiniType<WebhookEndpointCreate$Outbound, WebhookEndpointCreate>;
export declare function webhookEndpointCreateToJSON(webhookEndpointCreate: WebhookEndpointCreate): string;
//# sourceMappingURL=webhookendpointcreate.d.ts.map