import { PackageManager } from '../services/check-parser/package-files/package-manager'; export interface CreateFixtureSandboxOptions { /** * The fixture source directory. */ source: string; /** * The full, absolute path to the sandbox directory. The path will be * created if it does not exist. * * When the sandbox is destroyed, the path is deleted. * * If not provided, a temporary directory is created automatically. */ root?: string; /** * The package manager used to manage the fixture. * * If not provided, the package manager is detected automatically. */ packageManager?: PackageManager; /** * Whether to install packages using the package manager. * * @default true */ installPackages?: boolean; /** * If true, installs the packed containing package into the sandbox. Done * only if packages are also installed. * * @default true */ injectPackedSelf?: boolean; } export declare class FixtureSandbox { #private; private constructor(); get root(): string; get packageManager(): PackageManager; static create(options: CreateFixtureSandboxOptions): Promise; destroy(): Promise; run(executable: string, args: string[], options?: RunOptions): Promise | undefined; timeout?: number | undefined; cwd?: string | undefined; }>>; abspath(...to: string[]): string; } export interface RunOptions { env?: Record; timeout?: number; cwd?: string; }