/** * `peaks polyrepo *` — polyrepo workflow CLI surface. * * * init — scan the parent dir for child git repos + write a * polyrepo manifest to `.peaks/polyrepo.json`. * status — read the persisted manifest + report children. * dispatch — mirror a PRD/RD/QA artifact from the parent into * each target child's * `.peaks/_runtime///` directory. * * Per the project's two-axis convention, all reviewable artifacts * live under `.peaks/_runtime///` — never as top-level * siblings of `.peaks/_runtime/`. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export interface PolyrepoInitOptions { json?: boolean; root?: string; children?: string; } export interface PolyrepoStatusOptions { json?: boolean; root?: string; } export interface PolyrepoDispatchOptions { json?: boolean; root?: string; rid?: string; to?: string; role?: 'prd' | 'rd' | 'qa'; artifact?: string; sid?: string; } export declare function registerPolyrepoCommands(program: Command, io: ProgramIO): void;