import type { CharterKind } from "audit-tools/shared"; import type { ArtifactBundle } from "../io/artifacts.js"; /** * The charter layer's read-set over the repo: consensus MEMBER files (every * channel is a projection of member content — comments for stated, organization * for structural, stripped bodies for revealed) plus every doc-intent file per * the pipeline's single doc predicate (`isDocIntentFile` — the stated channel's * doc universe). The staleness slice consumes this same function. */ export declare function charterPacketReadSet(bundle: ArtifactBundle): { memberPaths: string[]; docPaths: string[]; }; /** * The dependency-edge lines the STRUCTURAL channel's packet embeds: every * `imports`/`calls`/`references` edge whose BOTH endpoints are consensus * members, rendered one per line, sorted. The single home of this derivation — * the packet renders it and the staleness slice (`dependencySlices.ts` → * `charterGraphEdgeSlice`) compares it, so what the packet shows and what * re-stales it can never drift. */ export declare function memberDependencyEdgeLines(bundle: ArtifactBundle): string[]; /** * Top-level declaration lines of a comment-stripped source: non-blank lines at * indent zero that do not merely close a scope. A deliberate language-neutral * HEURISTIC (a lead, not a parse): in brace- and indent-family languages alike, * a file's organization — imports, exports, signatures, class/type heads — sits * at column 0 while implementation bodies sit indented. Good enough to show the * structural channel what the file declares without leaking how it works. */ export declare function topLevelDeclarationLines(strippedSource: string): string[]; export interface MaterializeCharterPacketParams { root: string; bundle: ArtifactBundle; kind: CharterKind; } /** * Materialize ONE kind's evidence packet as markdown. Deterministic given the * bundle + file contents: stable path order, fixed budgets, explicit omitted * lists. Unreadable/oversized files are named in the omitted list (never * silently absent) so a lane can say "evidence missing" instead of guessing. */ export declare function materializeCharterPacket(params: MaterializeCharterPacketParams): Promise; //# sourceMappingURL=charterPackets.d.ts.map