import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const TasksRunsArtifactsCreateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly task_id: Schema.String;
    readonly artifacts: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly name: Schema.optional<Schema.String>;
        readonly type: Schema.optional<Schema.Literals<readonly ["plan", "context", "reference", "output", "artifact", "tree_snapshot", "user_attachment"]>>;
        readonly source: Schema.optional<Schema.String>;
        readonly content: Schema.optional<Schema.String>;
        readonly content_encoding: Schema.optional<Schema.Literals<readonly ["utf-8", "base64"]>>;
        readonly content_type: Schema.optional<Schema.String>;
    }>>>;
}>;
export type TasksRunsArtifactsCreateInput = typeof TasksRunsArtifactsCreateInput.Type;
export declare const TasksRunsArtifactsCreateOutput: Schema.Struct<{
    readonly artifacts: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly type: Schema.optional<Schema.String>;
        readonly source: Schema.optional<Schema.String>;
        readonly size: Schema.optional<Schema.Number>;
        readonly content_type: Schema.optional<Schema.String>;
        readonly storage_path: Schema.optional<Schema.String>;
        readonly uploaded_at: Schema.optional<Schema.String>;
    }>>>;
}>;
export type TasksRunsArtifactsCreateOutput = typeof TasksRunsArtifactsCreateOutput.Type;
/**
 * Upload artifacts for a task run
 *
 * Persist task artifacts to S3 and attach them to the run manifest.
 *
 * @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 tasksRunsArtifactsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly artifacts?: readonly {
        readonly content?: string | undefined;
        readonly content_encoding?: "base64" | "utf-8" | undefined;
        readonly content_type?: string | undefined;
        readonly name?: string | undefined;
        readonly source?: string | undefined;
        readonly type?: "artifact" | "context" | "output" | "plan" | "reference" | "tree_snapshot" | "user_attachment" | undefined;
    }[] | undefined;
    readonly id: string;
    readonly project_id: string;
    readonly task_id: string;
}, {
    readonly artifacts?: readonly {
        readonly content_type?: string | undefined;
        readonly id?: string | undefined;
        readonly name?: string | undefined;
        readonly size?: number | undefined;
        readonly source?: string | undefined;
        readonly storage_path?: string | undefined;
        readonly type?: string | undefined;
        readonly uploaded_at?: string | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=tasksRunsArtifactsCreate.d.ts.map