import { t as AnyEnvDefinition } from "./types-Ctg8aeXQ.mjs"; //#region src/leak.d.ts type LeakReport = { key: string; chunk: string; }; type BundleChunk = { type: string; code?: string; moduleIds?: string[]; }; /** * Scans client-destined chunks for server-only var values appearing as quoted * string literals. Bare substring matches are ignored — only quoted literals * indicate a real bundler-inlined leak. Values < 8 chars are skipped. * Pure vendor chunks (all modules from node_modules) are excluded to avoid * false positives from libraries that happen to contain the same string values. */ declare function detectServerLeak(def: AnyEnvDefinition, data: Record, bundle: Record, onSkipped?: (keys: string[]) => void): LeakReport[]; //#endregion export { detectServerLeak }; //# sourceMappingURL=leak.d.mts.map