import type { ExecResult } from "./interface.js";
import type { LibraryConfig } from "../../../lib.js";
import type { SpawnOptions } from "child_process";
/**
 * When working with `sandbox-exec`, only consider `sandbox-exec` in `/usr/bin`
 * to defend against an attacker trying to inject a malicious version on the
 * PATH. If /usr/bin/sandbox-exec has been tampered with, then the attacker
 * already has root access.
 */
export declare const PATH_TO_SEATBELT_EXECUTABLE = "/usr/bin/sandbox-exec";
export declare function execWithSeatbelt(cmd: Array<string>, opts: SpawnOptions, writableRoots: ReadonlyArray<string>, config: LibraryConfig, abortSignal?: AbortSignal): Promise<ExecResult>;
