import type { RuntimePathContext } from "./types.js"; export declare function execSimple(cmd: string, args: string[]): Promise; export declare function killProcessTree(pid: number): void; export declare function linkAbortSignal(signal: AbortSignal | undefined, onAbort: () => void): () => void; export declare function shellEscape(s: string): string; interface ExecLikeResult { stdout: string; stderr: string; code: number; } interface ExecLike { exec(command: string, options?: TOptions): Promise; } export declare function execReadFileBase64(executor: ExecLike, path: string, options?: TOptions): Promise; export declare function execReadFile(executor: ExecLike, path: string, options?: TOptions): Promise; export declare function execWriteFile(executor: ExecLike, path: string, content: string | Uint8Array, options?: TOptions): Promise; export declare function execAppendFile(executor: ExecLike, path: string, content: string | Uint8Array, options?: TOptions): Promise; export declare function createMountedRuntimePathContext(hostWorkspaceRoot: string, runtimeWorkspaceRoot: string): RuntimePathContext; export declare class SandboxError extends Error { readonly details: string[]; constructor(message: string, details?: string[]); formatForCli(): string[]; } export {}; //# sourceMappingURL=utils.d.ts.map