import type { ExecResult } from "./interface.js";
import type { LibraryConfig } from "../../../lib.js";
import type { SpawnOptions } from "child_process";
/**
 * Runs Landlock with the following permissions:
 * - can read any file on disk
 * - can write to process.cwd()
 * - can write to the platform user temp folder
 * - can write to any user-provided writable root
 */
export declare function execWithLandlock(cmd: Array<string>, opts: SpawnOptions, userProvidedWritableRoots: ReadonlyArray<string>, config: LibraryConfig, abortSignal?: AbortSignal): Promise<ExecResult>;
