import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { WebhookEventType } from "./webhookeventtype.js";
import { WebhookFormat } from "./webhookformat.js";
/**
 * A webhook endpoint.
 */
export type WebhookEndpoint = {
    /**
     * Creation timestamp of the object.
     */
    createdAt: Date;
    /**
     * Last modification timestamp of the object.
     */
    modifiedAt: Date | null;
    /**
     * The ID of the object.
     */
    id: string;
    /**
     * 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 secret used to sign the webhook events.
     */
    secret: string;
    /**
     * The organization ID associated with the webhook endpoint.
     */
    organizationId: string;
    /**
     * The events that will trigger the webhook.
     */
    events: Array<WebhookEventType>;
    /**
     * Whether the webhook endpoint is enabled and will receive events.
     */
    enabled: boolean;
};
/** @internal */
export declare const WebhookEndpoint$inboundSchema: z.ZodMiniType<WebhookEndpoint, unknown>;
export declare function webhookEndpointFromJSON(jsonString: string): SafeParseResult<WebhookEndpoint, SDKValidationError>;
//# sourceMappingURL=webhookendpoint.d.ts.map