import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const BatchExportsRunsRetryCreateInput: Schema.Struct<{
    readonly batch_export_id: Schema.String;
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly status: Schema.optional<Schema.Literals<readonly ["Cancelled", "Completed", "ContinuedAsNew", "Failed", "FailedRetryable", "FailedBilling", "Terminated", "TimedOut", "Running", "Starting"]>>;
    readonly records_completed: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly records_failed: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly latest_error: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly data_interval_start: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly data_interval_end: Schema.optional<Schema.String>;
    readonly cursor: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly finished_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_updated_at: Schema.optional<Schema.String>;
    readonly records_total_count: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly bytes_exported: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly batch_export: Schema.optional<Schema.String>;
    readonly backfill: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type BatchExportsRunsRetryCreateInput = typeof BatchExportsRunsRetryCreateInput.Type;
export declare const BatchExportsRunsRetryCreateOutput: Schema.Void;
export type BatchExportsRunsRetryCreateOutput = typeof BatchExportsRunsRetryCreateOutput.Type;
/**
 * Retry a batch export run.
 * We use the same underlying mechanism as when backfilling a batch export, as retrying
 * a run is the same as backfilling one run.
 *
 * @param id - A UUID string identifying this batch export run.
 * @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/.
 */
export declare const batchExportsRunsRetryCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly batch_export_id: string;
    readonly id: string;
    readonly project_id: string;
    readonly status?: "Cancelled" | "Completed" | "ContinuedAsNew" | "Failed" | "FailedBilling" | "FailedRetryable" | "Running" | "Starting" | "Terminated" | "TimedOut" | undefined;
    readonly records_completed?: number | null | undefined;
    readonly records_failed?: number | null | undefined;
    readonly latest_error?: string | null | undefined;
    readonly data_interval_start?: string | null | undefined;
    readonly data_interval_end?: string | undefined;
    readonly cursor?: string | null | undefined;
    readonly created_at?: string | undefined;
    readonly finished_at?: string | null | undefined;
    readonly last_updated_at?: string | undefined;
    readonly records_total_count?: number | null | undefined;
    readonly bytes_exported?: number | null | undefined;
    readonly batch_export?: string | undefined;
    readonly backfill?: string | null | undefined;
}, void, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=batchExportsRunsRetryCreate.d.ts.map