import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const TasksRunsCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly task_id: Schema.String;
    readonly environment: Schema.optional<Schema.Literals<readonly ["local", "cloud"]>>;
    readonly mode: Schema.optional<Schema.Literals<readonly ["interactive", "background"]>>;
    readonly branch: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly sandbox_environment_id: Schema.optional<Schema.String>;
    readonly pr_authorship_mode: Schema.optional<Schema.Literals<readonly ["user", "bot"]>>;
    readonly run_source: Schema.optional<Schema.Literals<readonly ["manual", "signal_report"]>>;
    readonly signal_report_id: Schema.optional<Schema.String>;
    readonly runtime_adapter: Schema.optional<Schema.Literals<readonly ["claude", "codex"]>>;
    readonly model: Schema.optional<Schema.String>;
    readonly reasoning_effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "max"]>>;
    readonly github_user_token: Schema.optional<Schema.String>;
    readonly initial_permission_mode: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "bypassPermissions", "auto", "read-only", "full-access"]>>;
}>;
export type TasksRunsCreateInput = typeof TasksRunsCreateInput.Type;
export declare const TasksRunsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly task: Schema.optional<Schema.String>;
    readonly stage: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly branch: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly status: Schema.optional<Schema.Literals<readonly ["not_started", "queued", "in_progress", "completed", "failed", "cancelled"]>>;
    readonly environment: Schema.optional<Schema.Literals<readonly ["local", "cloud"]>>;
    readonly runtime_adapter: Schema.optional<Schema.Unknown>;
    readonly provider: Schema.optional<Schema.Unknown>;
    readonly model: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly reasoning_effort: Schema.optional<Schema.Unknown>;
    readonly log_url: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly error_message: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly output: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly state: Schema.optional<Schema.Unknown>;
    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>;
    }>>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly updated_at: Schema.optional<Schema.String>;
    readonly completed_at: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type TasksRunsCreateOutput = typeof TasksRunsCreateOutput.Type;
/**
 * Create task run
 *
 * Create a new run for a specific task without starting execution.
 *
 * @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 tasksRunsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly task_id: string;
    readonly environment?: "cloud" | "local" | undefined;
    readonly mode?: "background" | "interactive" | undefined;
    readonly branch?: string | null | undefined;
    readonly sandbox_environment_id?: string | undefined;
    readonly pr_authorship_mode?: "bot" | "user" | undefined;
    readonly run_source?: "manual" | "signal_report" | undefined;
    readonly signal_report_id?: string | undefined;
    readonly runtime_adapter?: "claude" | "codex" | undefined;
    readonly model?: string | undefined;
    readonly reasoning_effort?: "high" | "low" | "max" | "medium" | undefined;
    readonly github_user_token?: string | undefined;
    readonly initial_permission_mode?: "acceptEdits" | "auto" | "bypassPermissions" | "default" | "full-access" | "plan" | "read-only" | undefined;
}, {
    readonly id?: string | undefined;
    readonly task?: string | undefined;
    readonly stage?: string | null | undefined;
    readonly branch?: string | null | undefined;
    readonly status?: "cancelled" | "completed" | "failed" | "in_progress" | "not_started" | "queued" | undefined;
    readonly environment?: "cloud" | "local" | undefined;
    readonly runtime_adapter?: unknown;
    readonly provider?: unknown;
    readonly model?: string | null | undefined;
    readonly reasoning_effort?: unknown;
    readonly log_url?: string | null | undefined;
    readonly error_message?: string | null | undefined;
    readonly output?: unknown;
    readonly state?: unknown;
    readonly artifacts?: readonly {
        readonly id?: string | undefined;
        readonly name?: string | undefined;
        readonly type?: string | undefined;
        readonly source?: string | undefined;
        readonly size?: number | undefined;
        readonly content_type?: string | undefined;
        readonly storage_path?: string | undefined;
        readonly uploaded_at?: string | undefined;
    }[] | undefined;
    readonly created_at?: string | undefined;
    readonly updated_at?: string | undefined;
    readonly completed_at?: string | null | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=tasksRunsCreate.d.ts.map