export type SandboxProcessResult = {
    status: number | null;
    signal: NodeJS.Signals | null;
    stdout: string;
    stderr: string;
    error?: Error;
    timedOut: boolean;
};
export type RunSandboxProcessOptions = {
    cwd?: string;
    env?: NodeJS.ProcessEnv;
    uid?: number;
    gid?: number;
    timeoutMs?: number;
    maxOutputBytes?: number;
};
export declare function runSandboxProcess(command: string, args: string[], options?: RunSandboxProcessOptions): Promise<SandboxProcessResult>;
export declare function formatSandboxProcessError(result: SandboxProcessResult): string;
