import type { BundleAuthoringState, BundleFactoryCallChainItem, BundleFactoryMetadata, BundleFactoryOrderDeviation } from './types.js'; import type { SkillCreatorIntent } from './user-facing.js'; import { type WorkflowDefinitionInput, type WorkflowProtocol } from '../workflow-contract/index.js'; export interface BundleFactoryPlanFile { goal: string; preferredSkills?: string[]; skillCreatorIntent?: SkillCreatorIntent; workflow: WorkflowDefinitionInput; deviations?: BundleFactoryOrderDeviation[]; engineMode?: BundleFactoryMetadata['engineMode']; runnerMode?: BundleFactoryMetadata['runnerMode']; mode?: BundleAuthoringState['mode']; sourceRoot?: string; defaultLocale?: string; locales?: string[]; engineEnabled?: boolean; } export interface NormalizedBundleFactoryPlan { goal: string; skillCreatorIntent: SkillCreatorIntent; preferredSkills: string[]; callChain: BundleFactoryCallChainItem[]; workflowDefinition: WorkflowDefinitionInput; workflowProtocol: WorkflowProtocol; deviations: BundleFactoryOrderDeviation[]; engineMode: BundleFactoryMetadata['engineMode']; runnerMode: BundleFactoryMetadata['runnerMode']; mode: BundleAuthoringState['mode']; sourceRoot?: string; defaultLocale: string; locales: string[]; engineEnabled: boolean; } export declare function hashBundleFactoryPlan(plan: NormalizedBundleFactoryPlan): string; export declare function readBundleFactoryPlan(filePath: string): Promise; export declare function normalizeBundleFactoryPlan(options: { plan: BundleFactoryPlanFile; projectPreferredSkills?: string[] | null; }): NormalizedBundleFactoryPlan; export declare function writeBundleFactoryPlanArtifact(options: { projectRoot: string; name: string; plan: NormalizedBundleFactoryPlan; }): Promise<{ planPath: string; planHash: string; }>; //# sourceMappingURL=factory-plan.d.ts.map