/** * Resolve the bundled payload root from the package root. * Exported for test access (tests may override with a fixture path instead). */ export declare function resolveBundledPayloadRoot(): string; export interface EnumCatalog { version: string; generated: string; enums: { "task.status": string[]; "sprint.status": string[]; "bug.status": string[]; }; commandNames: string[]; } /** Array format from schemas/transitions/{task,sprint,bug}.json */ export interface TransitionRecord { from: string; to: string[]; } /** All three entity transition tables as Set-based maps for O(1) lookup. */ export interface AllTransitions { task: Record>; sprint: Record>; bug: Record>; } /** * Load enum-catalog.json from the supplied bundleRoot. * Throws with a descriptive message if the file is missing or malformed. * * @param bundleRoot - absolute path to dist/forge-payload/ */ export declare function loadEnumCatalog(bundleRoot: string): EnumCatalog; /** * Load all three entity transition tables from the bundled payload. * Throws if any file is missing or malformed. * * @param bundleRoot - absolute path to dist/forge-payload/ */ export declare function loadTransitions(bundleRoot: string): AllTransitions; /** Task status FSM as Set-based lookup (T25 ADR-canonical). Source: enum-catalog. Lazy-loaded. */ export declare const TASK_TRANSITIONS: Record>; /** Sprint status FSM as Set-based lookup (T25 ADR-canonical). Source: enum-catalog. Lazy-loaded. */ export declare const SPRINT_TRANSITIONS: Record>; /** Bug status FSM as Set-based lookup (T25 ADR-canonical). Source: enum-catalog. Lazy-loaded. */ export declare const BUG_TRANSITIONS: Record>;