import type { ToolChildJobHandler } from "./entry.ts";
export declare const USER_BASH_JOB_KIND = "user.bash";
export interface UserBashJobArgs {
    readonly command: string;
    readonly cwd: string;
    readonly env: Readonly<Record<string, string>>;
    readonly shellPath?: string;
    readonly timeoutSeconds?: number;
    readonly redactSecretsInOutput?: boolean;
}
/** One streamed chunk of output; base64 so binary output survives the JSON channel. */
export interface UserBashUpdate {
    readonly data: string;
    readonly stream?: "stdout" | "stderr";
}
export declare function parseUserBashArgs(value: unknown): UserBashJobArgs;
export declare function createUserBashJobHandler(): ToolChildJobHandler;
//# sourceMappingURL=user-bash-job.d.ts.map