/**
 * Security Module - Defense-in-Depth Box
 *
 * This module provides a secondary defense layer that monkey-patches
 * dangerous JavaScript globals during bash script execution.
 *
 * IMPORTANT: This is a SECONDARY defense layer. It should never be relied upon
 * as the primary security mechanism. The primary security comes from proper
 * sandboxing, input validation, and architectural constraints.
 *
 * Usage:
 * ```typescript
 * import { Bash } from 'ag-bash';
 *
 * // Enable defense-in-depth (recommended for production)
 * const bash = new Bash({
 *   security: { defenseInDepth: true },
 * });
 *
 * // Or with custom configuration
 * const bash = new Bash({
 *   security: {
 *     defenseInDepth: {
 *       enabled: true,
 *       auditMode: false,
 *       onViolation: (v) => console.warn('Violation:', v),
 *     },
 *   },
 * });
 * ```
 */
// Browser secondary defense (opt-in intrinsic freeze; AsyncLocalStorage-free)
export { hardenBrowserGlobals, isBrowserHardened, } from "./browser-hardening.js";
// Main class (for main thread with AsyncLocalStorage context tracking)
export { DefenseInDepthBox, SecurityViolationError, } from "./defense-in-depth-box.js";
// Violation logger
export { createConsoleViolationCallback, SecurityViolationLogger, } from "./security-violation-logger.js";
// Worker-compatible version (no AsyncLocalStorage, always blocks)
export { WorkerDefenseInDepth, } from "./worker-defense-in-depth.js";
