/**
 * Platform Detection
 *
 * Detects available sandboxing backends for the current platform.
 */
import type { IsolationBackend, SandboxDetectionResult } from './types.js';
/**
 * Check if seatbelt (sandbox-exec) is available.
 * This is built-in on macOS.
 */
export declare function isSeatbeltAvailable(): boolean;
/**
 * Check if bubblewrap (bwrap) is available.
 * This must be installed on Linux systems.
 */
export declare function isBwrapAvailable(): boolean;
/**
 * Detect the best available isolation backend for the current platform.
 *
 * @returns The recommended isolation backend and availability info
 *
 * @example
 * ```typescript
 * const result = detectIsolation();
 * if (result.available) {
 *   console.log(`Using ${result.backend} for sandboxing`);
 * } else {
 *   console.warn(result.message);
 * }
 * ```
 */
export declare function detectIsolation(): SandboxDetectionResult;
/**
 * Check if a specific isolation backend is available.
 *
 * @param backend - The isolation backend to check
 * @returns Whether the backend is available on this system
 */
export declare function isIsolationAvailable(backend: IsolationBackend): boolean;
/**
 * Get the recommended isolation backend for this platform.
 * Returns 'none' if no sandboxing is available.
 */
export declare function getRecommendedIsolation(): IsolationBackend;
//# sourceMappingURL=detect.d.ts.map