import type { ProductGraph } from '../graph/graph-types.js'; import type { ResolvedConfig } from '../config/config.js'; import type { GovernanceFile, GovernanceRule } from './types.js'; /** * Load the project-level constitution content from the configured path. * Returns `null` if no path is configured or file does not exist. * * Checks in order: * 1. Explicit path from `config.constitution.path` * 2. Default location `.prodara/constitution.md` */ export declare function loadConstitution(config: ResolvedConfig, root: string): string | null; /** * Generate governance (agents.md) files from the product graph and config. * Returns files to write — caller is responsible for actual I/O. * Existing user-created files are never overwritten. */ export declare function generateGovernanceFiles(graph: ProductGraph, config: ResolvedConfig, root: string): GovernanceFile[]; /** * Read existing agents.md files from a project root. * Returns their rules as governance context for review enforcement. */ export declare function readGovernanceRules(root: string): GovernanceRule[]; //# sourceMappingURL=governance.d.ts.map