// Copyright (c) 2026 Hellmai Ltd
// SPDX-License-Identifier: AGPL-3.0-only

/**
 * Shared ambient declarations for @lumenflow/packs-software-delivery.
 *
 * WU-2674 (INIT-058 L3): Mirrors the `UnsafeAny` alias from core's
 * `src/types.d.ts` so policy/ modules relocated from core continue to type-check
 * without an explicit `any` debt. Transitional until the alias is retired.
 */

/**
 * Transitional escape hatch for dynamic values while explicit-UnsafeAny debt is removed.
 * Intentionally derived from JSON.parse return type to avoid explicit `UnsafeAny`.
 */
type UnsafeAny = ReturnType<typeof JSON.parse>;
