/** * MethodologyConfig — Data-driven BRE pipeline configuration. * * Loads pipeline definitions from `.ido4/methodology.json`, or falls back * to the default methodology that matches the current hardcoded behavior. * * Key design: parameterized step names use colon separator. * e.g., "StatusTransitionValidation:IN_PROGRESS" → step="StatusTransitionValidation", param="IN_PROGRESS" */ /** Configuration for which validation steps run per transition */ export interface IMethodologyConfig { getStepsForTransition(transition: string, workItemType?: string): string[]; getStepConfig(stepName: string): Record; getTransitions(): string[]; isStepEnabled(transition: string, stepName: string): boolean; } export interface MethodologyPipeline { steps: string[]; } export interface MethodologyDefinition { version: string; name: string; pipelines: Record; stepConfig?: Record>; } /** Default methodology — exactly matches the current hardcoded switch statement */ export declare const DEFAULT_METHODOLOGY: MethodologyDefinition; export declare class MethodologyConfig implements IMethodologyConfig { private readonly definition; constructor(definition: MethodologyDefinition); /** * Create a MethodologyConfig from a MethodologyProfile. * The profile IS the methodology — its pipelines drive the BRE. */ static fromProfile(profile: { version: string; name: string; pipelines: Record; }): MethodologyConfig; getStepsForTransition(transition: string, workItemType?: string): string[]; getStepConfig(stepName: string): Record; getTransitions(): string[]; isStepEnabled(transition: string, stepName: string): boolean; } export declare class MethodologyConfigLoader { static load(projectRoot: string): Promise; private static parse; } //# sourceMappingURL=methodology-config.d.ts.map