/** * Shared file-scanning utilities for IntegrationVerifier and CheckExecutor. * * Extracted from IntegrationVerifier to enable reuse by dynamic check strategies. * Zero LLM calls. Deterministic. Uses only node:fs/promises and node:path. */ /** Recursively find files matching a regex pattern against filenames. */ export declare function findFiles(dir: string, pattern: RegExp, excludeDirs?: readonly string[]): Promise; /** Trace imports transitively from a file, populating a visited set. */ export declare function traceImports(file: string, visited: Set, allFiles: string[]): Promise; /** Resolve a relative import path to an actual file. */ export declare function resolveImport(fromFile: string, importPath: string, allFiles: string[]): string | null; /** Find the matching closing brace for an opening brace at the given index. */ export declare function findMatchingBrace(content: string, openIdx: number): number; /** Read tsconfig.json compilerOptions.paths and return a map of alias → resolved directory. */ export declare function readTsConfigPaths(projectPath: string): Promise>; /** * Find files matching a simple glob-like pattern. * Supports: ** (any depth), * (any filename chars), {a,b,c} (alternatives), * and literal path segments. */ export declare function matchesGlob(filePath: string, glob: string): boolean;