import type { GraphEdge } from "audit-tools/shared"; import { normalizeGraphPath } from "audit-tools/shared"; export { normalizeGraphPath }; export declare function graphLookupKey(path: string): string; export declare function resolveCandidate(candidate: string, pathLookup: Map): string | undefined; export declare function graphEdge(params: GraphEdge): GraphEdge; /** Source file extensions the graph extractors read and reason about. */ export declare const SOURCE_EXTENSIONS: readonly [".ts", ".tsx", ".mts", ".cts", ".js", ".jsx", ".mjs", ".cjs", ".json", ".html", ".htm", ".yml", ".yaml", ".py", ".pyi", ".go", ".rs", ".java", ".cs"]; /** Matches any single/double/back-quoted string literal (bounded length). */ export declare const STRING_LITERAL_PATTERN: RegExp; /** Resolve a relative import specifier to a repository path, if one exists. */ export declare function resolveSpecifier(fromPath: string, specifier: string, pathLookup: Map): string | undefined; /** Resolve a string literal (relative or repo-rooted) to a repository path. */ export declare function resolveReferenceLiteral(fromPath: string, literal: string, pathLookup: Map): string | undefined; /** True for `*.schema.json` files (JSON Schema documents). */ export declare function isJsonSchemaPath(path: string): boolean; /** True for pytest `conftest.py` files. */ export declare function isPytestConftestPath(path: string): boolean; /** True for `package.json` files. */ export declare function isPackageManifestPath(path: string): boolean; /** True for `tsconfig.json` / `tsconfig..json` project config files. */ export declare function isTypescriptProjectConfigPath(path: string): boolean; /** True for Go `go.mod` module manifests. */ export declare function isGoModuleManifestPath(path: string): boolean; /** True for Go `go.work` workspace manifests. */ export declare function isGoWorkspaceManifestPath(path: string): boolean; /** True for Rust `Cargo.toml` manifests. */ export declare function isCargoManifestPath(path: string): boolean; /** True for Maven `pom.xml` manifests. */ export declare function isMavenPomPath(path: string): boolean; /** True for Python `pyproject.toml` manifests. */ export declare function isPyprojectPath(path: string): boolean; /** True for `pnpm-workspace.yaml` workspace manifests. */ export declare function isPnpmWorkspaceManifestPath(path: string): boolean; //# sourceMappingURL=graphPathUtils.d.ts.map