// PrdService is the single authority surface for PRD documents. The raw store
// writers (createPrd/savePrd) are deliberately NOT exported: every mutation
// goes through the service so there is no second writer path.
export { loadPrd, listPrds, parsePrdDocument } from './prd.js';
export { runPrdWizard } from './wizard.js';
export { buildPrdyCli, runPrdyCli } from './cli.js';
export { BUILTIN_PRD_TEMPLATES, resolveTemplate } from './templates.js';
export {
  PrdService,
  PRD_GENERATED_VIEW_LABEL,
  PrdError,
  PrdNotFoundError,
  PrdUpdateError,
  PrdImportInvalidError,
  PrdImportConflictError,
} from './service.js';
export type {
  PrdStatus,
  PrdTemplate,
  PrdTemplateSection,
  PrdSection,
  PrdMissionLinkage,
  PrdDocument,
  CreatePrdOptions,
  PrdServiceOptions,
  PrdCreateInput,
  PrdSectionPatch,
  PrdUpdateInput,
  PrdLinkMissionInput,
  PrdPlanForMissionInput,
  PrdExportInput,
  PrdExportResult,
  PrdImportInput,
  PrdImportResult,
} from './types.js';
