/** * Shared bootstrap heuristics for the extractor layer. These rules run before * richer graph/unit analysis exists, so they intentionally favor recall over * precision and always normalize case, path separators, and simple camelCase * boundaries first. */ export declare const EXTRACTOR_HEURISTIC_NOTE = "Heuristic path classification normalizes case, path separators, and simple camelCase boundaries, then matches conservative keyword groups; confirm unusual repo layouts manually."; export declare function normalizeExtractorPath(path: string): string; export declare function pathTokens(normalized: string): string[]; export declare function isNodeModulesOrGit(normalized: string): boolean; /** * `.tmp/` holds transient scratch and bundled tool copies (e.g. a vendored * `.tmp/cache`). These are not the audited project's source — excluding * them keeps the self-audit from auditing its own bundled dependencies. */ export declare function isTmpPath(normalized: string): boolean; export declare function isBuildOutput(normalized: string): boolean; export declare function isVendorPath(normalized: string): boolean; export declare function isBinaryArtifact(normalized: string): boolean; export declare function isLogPath(normalized: string): boolean; export declare function isLicensePath(normalized: string): boolean; export declare function isLockfilePath(normalized: string): boolean; export declare function isDocPath(normalized: string): boolean; export declare function isGeneratedInstallArtifactPath(normalized: string): boolean; export declare function isGeneratedTestArtifactPath(normalized: string): boolean; export declare function isAuditArtifactPath(normalized: string): boolean; /** * Package-manager cache stores — npm's content-addressed `_cacache`, a nested * `npm-cache`, or a local `.npm` — are dependency blobs, never the audited * project's source. Smoke-test temp dirs can leave these inside the repo tree. */ export declare function isPackageManagerCachePath(normalized: string): boolean; /** * The pipeline's own canonical machine contracts. When audit-tools audits itself * (or any repo that checked one in) these are data deliverables, not source — * auditing them yields only "this is JSON data" noise. The matching `*-report.md` * renders are already handled as `doc_only` by `isDocPath`. */ export declare function isAuditToolOutputArtifact(normalized: string): boolean; export declare function isTestPath(normalized: string): boolean; export declare function isInterfacePath(normalized: string): boolean; export declare function isDataLayerPath(normalized: string): boolean; export declare function isSecuritySensitivePath(normalized: string): boolean; export declare function isConcurrencyPath(normalized: string): boolean; export declare function isExamplesOrFixturesPath(normalized: string): boolean; export declare function isScriptPath(normalized: string): boolean; export declare function isDeploymentConfigPath(normalized: string): boolean; export declare function isGeneratedPath(normalized: string): boolean; export declare function isSurfacePath(normalized: string): boolean; export declare function isBackgroundSurfacePath(normalized: string): boolean; export declare function isNetworkSurfacePath(normalized: string): boolean; export declare function isBillingPath(normalized: string): boolean; export declare function isIdentityPath(normalized: string): boolean; export declare function isAsyncTaskPath(normalized: string): boolean; //# sourceMappingURL=pathPatterns.d.ts.map