import type { ScanResult, EnvScope } from '../../config/types.js'; /** * Compares the scan result with the environment variables. * This function identifies missing and unused environment variables. * * Missing detection is scope-aware: a used variable counts as defined when it is * present in the primary comparison file OR in any ancestor `.env.example` scope * of the file that uses it (monorepo "nearest example wins", with root inheritance). * @param scanResult - The result of the scan. * @param envVariables - The environment variables to compare against (primary file). * @param ignore - List of keys to ignore. * @param ignoreRegex - List of regex patterns to ignore. * @param scopes - Directory-scoped example key sets discovered in subdirectories. * @returns The comparison result. */ export declare function compareWithEnvFiles(scanResult: ScanResult, envVariables: Record, ignore?: string[], ignoreRegex?: RegExp[], scopes?: EnvScope[]): ScanResult; //# sourceMappingURL=compareScan.d.ts.map