import type { GraphEdge } from "audit-tools/shared"; import { WorkspacePattern } from "./workspace.js"; /** * Cargo `[workspace]` member/exclude globs. Parsed with a vetted TOML parser * (`smol-toml`) rather than a line scanner, so every spelling of the table * resolves to the same shape — `[workspace]` headers, the dotted * `workspace.members = [...]`, and the inline `workspace = { members = [...] }` * form all yield `workspace.members` — instead of silently dropping the dotted * and inline forms (the dropped-edge bug). `exclude` entries are emitted as * `!`-prefixed negation patterns. Malformed TOML degrades to `[]` (the graph * builder never throws on a bad manifest). */ export declare function cargoWorkspacePatterns(content: string): WorkspacePattern[]; export declare function extractCargoWorkspaceMemberEdges(fromPath: string, content: string, pathLookup: Map): GraphEdge[]; //# sourceMappingURL=cargo.d.ts.map