import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const SubscriptionsDeliveriesListInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly subscription_id: Schema.Number;
    readonly cursor: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["completed", "failed", "skipped", "starting"]>>;
}>;
export type SubscriptionsDeliveriesListInput = typeof SubscriptionsDeliveriesListInput.Type;
export declare const SubscriptionsDeliveriesListOutput: Schema.Struct<{
    readonly next: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly previous: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly results: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly subscription: Schema.optional<Schema.Number>;
        readonly temporal_workflow_id: Schema.optional<Schema.String>;
        readonly idempotency_key: Schema.optional<Schema.String>;
        readonly trigger_type: Schema.optional<Schema.String>;
        readonly scheduled_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly target_type: Schema.optional<Schema.String>;
        readonly target_value: Schema.optional<Schema.String>;
        readonly exported_asset_ids: Schema.optional<Schema.$Array<Schema.Number>>;
        readonly content_snapshot: Schema.optional<Schema.Unknown>;
        readonly recipient_results: Schema.optional<Schema.Unknown>;
        readonly status: Schema.optional<Schema.Literals<readonly ["starting", "completed", "failed", "skipped"]>>;
        readonly error: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly last_updated_at: Schema.optional<Schema.String>;
        readonly finished_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly change_summary: Schema.optional<Schema.NullOr<Schema.String>>;
    }>>>;
}>;
export type SubscriptionsDeliveriesListOutput = typeof SubscriptionsDeliveriesListOutput.Type;
/**
 * List subscription deliveries
 *
 * Paginated delivery history for a subscription. Requires premium subscriptions.
 *
 * @param cursor - The pagination cursor value.
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 * @param status - Return only deliveries in this run status (starting, completed, failed, or skipped).
 */
export declare const subscriptionsDeliveriesList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly subscription_id: number;
    readonly cursor?: string | undefined;
    readonly status?: "completed" | "failed" | "skipped" | "starting" | undefined;
}, {
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly id?: string | undefined;
        readonly subscription?: number | undefined;
        readonly temporal_workflow_id?: string | undefined;
        readonly idempotency_key?: string | undefined;
        readonly trigger_type?: string | undefined;
        readonly scheduled_at?: string | null | undefined;
        readonly target_type?: string | undefined;
        readonly target_value?: string | undefined;
        readonly exported_asset_ids?: readonly number[] | undefined;
        readonly content_snapshot?: unknown;
        readonly recipient_results?: unknown;
        readonly status?: "completed" | "failed" | "skipped" | "starting" | undefined;
        readonly error?: unknown;
        readonly created_at?: string | undefined;
        readonly last_updated_at?: string | undefined;
        readonly finished_at?: string | null | undefined;
        readonly change_summary?: string | null | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=subscriptionsDeliveriesList.d.ts.map