/** * Core logic for `auden docs status`: show which bundles the current repo * subscribes to and whether each has been materialized locally yet. Slice 1a is * pull-only with no per-file sidecar, so "state" is deliberately coarse — * subscribed, and materialized (N files) or not-yet-pulled. The richer * three-point in-sync/ahead/behind state arrives with the link sidecar (Slice 2). * * Kept free of citty/console — the command injects the filesystem read. */ export type DocsStatusRow = { bundle: string; /** Local directory the bundle materializes into. */ dir: string; /** True when that directory exists on disk. */ exists: boolean; /** Count of `.md` files present in the directory (0 when missing). */ materialized: number; }; export type DocsStatusDeps = { /** * List a directory's entries, or return `null` when it does not exist. Any * other read error should propagate so a genuine fault isn't reported as * "not yet pulled". */ listDir: (dir: string) => Promise; }; /** Build a status row per subscribed bundle. */ export declare function computeDocsStatus(cwd: string, bundles: string[], deps: DocsStatusDeps): Promise; /** * Render the status as plain lines. Returns a guidance message when the repo * has no subscription yet, so the command prints something actionable either * way. */ export declare function formatDocsStatus(rows: DocsStatusRow[]): string; //# sourceMappingURL=status.d.ts.map