import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const TasksRunsCommandCreateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly task_id: Schema.String;
    readonly jsonrpc: Schema.optional<Schema.Literals<readonly ["2.0"]>>;
    readonly method: Schema.optional<Schema.Literals<readonly ["user_message", "cancel", "close", "permission_response", "set_config_option"]>>;
    readonly params: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
}>;
export type TasksRunsCommandCreateInput = typeof TasksRunsCommandCreateInput.Type;
export declare const TasksRunsCommandCreateOutput: Schema.Struct<{
    readonly jsonrpc: Schema.optional<Schema.String>;
    readonly id: Schema.optional<Schema.Unknown>;
    readonly result: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    readonly error: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
}>;
export type TasksRunsCommandCreateOutput = typeof TasksRunsCommandCreateOutput.Type;
/**
 * Send command to agent server
 *
 * Forward a JSON-RPC command to the agent server running in the sandbox. Supports user_message, cancel, close, permission_response, and set_config_option commands.
 *
 * @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 tasksRunsCommandCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly id: string;
    readonly project_id: string;
    readonly task_id: string;
    readonly jsonrpc?: "2.0" | undefined;
    readonly method?: "cancel" | "close" | "permission_response" | "set_config_option" | "user_message" | undefined;
    readonly params?: {
        readonly [x: string]: unknown;
    } | undefined;
}, {
    readonly jsonrpc?: string | undefined;
    readonly id?: unknown;
    readonly result?: {
        readonly [x: string]: unknown;
    } | undefined;
    readonly error?: {
        readonly [x: string]: unknown;
    } | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=tasksRunsCommandCreate.d.ts.map