import type { SandboxBackend, SandboxConfig, SandboxExecutor } from "./types.js"; export type { DockerConfig } from "./docker.js"; export { DEFAULT_DOCKER_CONFIG, DockerExecutor } from "./docker.js"; export { GvisorExecutor } from "./gvisor.js"; export { SeatbeltExecutor } from "./seatbelt.js"; export type { SandboxBackend, SandboxConfig, SandboxExecutor, SandboxResult, } from "./types.js"; export { DEFAULT_SANDBOX_CONFIG } from "./types.js"; /** * Register a custom sandbox executor. */ export declare function registerSandboxBackend(name: SandboxBackend, executor: SandboxExecutor): void; /** * Get the sandbox executor for a given backend. */ export declare function getSandboxExecutor(backend: SandboxBackend): SandboxExecutor | undefined; /** * Detect available sandbox backends on the current platform. */ export declare function detectAvailableBackends(): Promise; /** * Wrap a command through the configured sandbox, if any. */ export declare function wrapCommandForSandbox(command: string, args: string[], config: SandboxConfig): { command: string; args: string[]; }; //# sourceMappingURL=index.d.ts.map