import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const TasksRunsArtifactsDownloadCreateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly task_id: Schema.String;
    readonly storage_path: Schema.optional<Schema.String>;
}>;
export type TasksRunsArtifactsDownloadCreateInput = typeof TasksRunsArtifactsDownloadCreateInput.Type;
export declare const TasksRunsArtifactsDownloadCreateOutput: Schema.Void;
export type TasksRunsArtifactsDownloadCreateOutput = typeof TasksRunsArtifactsDownloadCreateOutput.Type;
/**
 * Download an artifact through the backend
 *
 * Streams artifact content for a task run artifact after validating that it belongs to the run.
 *
 * @param id - A UUID string identifying this task 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 tasksRunsArtifactsDownloadCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly id: string;
    readonly project_id: string;
    readonly storage_path?: string | undefined;
    readonly task_id: string;
}, void, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=tasksRunsArtifactsDownloadCreate.d.ts.map