/** * Shared content extraction helpers for assembling project context. * Used by both `arcs context` and `arcs sync-agents-md` commands. */ /** * Extract meaningful overview content from overview.md, stripping template boilerplate. * Returns null if the overview is still the default template (no real content). * * Strips: leading H1, blockquote, status/repo blocks, then checks if remaining * content is just empty section headers. * * NOTE: Coupled to the template format in project.md.tmpl. Guarded by * test/content-assembly.test.ts — edits to the template or this function * must preserve the null/non-null contract on unmodified vs. populated * renders, or that test will fail. */ export declare function extractOverviewContent(raw: string): string | null; /** * Extract in-progress task lines (matching `- [/]` pattern) in file order. */ export declare function extractInProgressTasks(raw: string): string[]; /** * Extract backlog task lines (matching `- [ ]` pattern) in file order. */ export declare function extractBacklogTasks(raw: string): string[]; /** * Remove leading markdown checkbox syntax from a task line. */ export declare function stripTaskCheckbox(line: string): string; /** * Extract meaningful dependencies content from dependencies.md, stripping template boilerplate. * Returns null if the content is still the default template. * * Strips leading H1 (`# Dependencies — {name}`). Downgrades `## Upstream` / * `## Downstream` to `###` so they nest correctly under the `## Dependencies` * header in assembled documents. Returns null if the only non-blank content * under each header is `- None yet` / `- None` or nothing. * * NOTE: Coupled to the template format in dependency.md.tmpl. Guarded by * test/content-assembly.test.ts — edits to the template or this function * must preserve the null/non-null contract, or that test will fail. */ export declare function extractDependenciesContent(raw: string): string | null; //# sourceMappingURL=content-assembly.d.ts.map