import * as z from "zod/v4-mini";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { ListResourceWebhookDelivery } from "../components/listresourcewebhookdelivery.js";
import { WebhookEventType } from "../components/webhookeventtype.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Filter by webhook endpoint ID.
 */
export type EndpointId = string | Array<string>;
/**
 * Filter by HTTP response code class (2xx, 3xx, 4xx, 5xx).
 */
export declare const HttpCodeClass: {
    readonly Twoxx: "2xx";
    readonly Threexx: "3xx";
    readonly Fourxx: "4xx";
    readonly Fivexx: "5xx";
};
/**
 * Filter by HTTP response code class (2xx, 3xx, 4xx, 5xx).
 */
export type HttpCodeClass = ClosedEnum<typeof HttpCodeClass>;
/**
 * Filter by webhook event type.
 */
export type EventType = WebhookEventType | Array<WebhookEventType>;
export type WebhooksListWebhookDeliveriesRequest = {
    /**
     * Filter by webhook endpoint ID.
     */
    endpointId?: string | Array<string> | null | undefined;
    /**
     * Filter deliveries after this timestamp.
     */
    startTimestamp?: Date | null | undefined;
    /**
     * Filter deliveries before this timestamp.
     */
    endTimestamp?: Date | null | undefined;
    /**
     * Filter by delivery success status.
     */
    succeeded?: boolean | null | undefined;
    /**
     * Query to filter webhook deliveries.
     */
    query?: string | null | undefined;
    /**
     * Filter by HTTP response code class (2xx, 3xx, 4xx, 5xx).
     */
    httpCodeClass?: HttpCodeClass | null | undefined;
    /**
     * Filter by webhook event type.
     */
    eventType?: WebhookEventType | Array<WebhookEventType> | null | undefined;
    /**
     * Page number, defaults to 1.
     */
    page?: number | undefined;
    /**
     * Size of a page, defaults to 10. Maximum is 100.
     */
    limit?: number | undefined;
};
export type WebhooksListWebhookDeliveriesResponse = {
    result: ListResourceWebhookDelivery;
};
/** @internal */
export type EndpointId$Outbound = string | Array<string>;
/** @internal */
export declare const EndpointId$outboundSchema: z.ZodMiniType<EndpointId$Outbound, EndpointId>;
export declare function endpointIdToJSON(endpointId: EndpointId): string;
/** @internal */
export declare const HttpCodeClass$outboundSchema: z.ZodMiniEnum<typeof HttpCodeClass>;
/** @internal */
export type EventType$Outbound = string | Array<string>;
/** @internal */
export declare const EventType$outboundSchema: z.ZodMiniType<EventType$Outbound, EventType>;
export declare function eventTypeToJSON(eventType: EventType): string;
/** @internal */
export type WebhooksListWebhookDeliveriesRequest$Outbound = {
    endpoint_id?: string | Array<string> | null | undefined;
    start_timestamp?: string | null | undefined;
    end_timestamp?: string | null | undefined;
    succeeded?: boolean | null | undefined;
    query?: string | null | undefined;
    http_code_class?: string | null | undefined;
    event_type?: string | Array<string> | null | undefined;
    page: number;
    limit: number;
};
/** @internal */
export declare const WebhooksListWebhookDeliveriesRequest$outboundSchema: z.ZodMiniType<WebhooksListWebhookDeliveriesRequest$Outbound, WebhooksListWebhookDeliveriesRequest>;
export declare function webhooksListWebhookDeliveriesRequestToJSON(webhooksListWebhookDeliveriesRequest: WebhooksListWebhookDeliveriesRequest): string;
/** @internal */
export declare const WebhooksListWebhookDeliveriesResponse$inboundSchema: z.ZodMiniType<WebhooksListWebhookDeliveriesResponse, unknown>;
export declare function webhooksListWebhookDeliveriesResponseFromJSON(jsonString: string): SafeParseResult<WebhooksListWebhookDeliveriesResponse, SDKValidationError>;
//# sourceMappingURL=webhookslistwebhookdeliveries.d.ts.map