import type { BacklogItem } from '../types.js'; /** * All factory-generated work branches sit under the `ai-/...` * namespace so they're easy to filter, branch-protect, and tell apart from * human-driven branches. Type is heuristically picked from the item's * title + description (matching the /super feat skill's prefix convention). */ export declare function detectFactoryBranchType(description: string): string; export declare function buildFactoryBranchName(item: BacklogItem): string; export interface PrdInput { readonly workspaceRoot: string; readonly item: BacklogItem; readonly stackRepos: ReadonlyArray<{ readonly name: string; readonly path: string; }>; readonly date: string; } export declare function writeFactoryPrd(input: PrdInput): Promise; export declare function appendStatusLogEntry(prdPath: string, entry: string): Promise; /** * Update the PRD's frontmatter `status:` line. The backlog dedup reads * `status: shipped` to skip slugs that already shipped, so this MUST be * called when an iteration actually ships PRs (not just when the build * phase no-ops with `status: skipped` outcomes everywhere). */ export declare function setPrdStatus(prdPath: string, status: 'in-progress' | 'shipped' | 'failed' | 'partial-shipped'): Promise; //# sourceMappingURL=prd.d.ts.map