import { type Business, type Direction, type MediaInventory, type NarrativeBrief, type ReferenceAnalysis, type Storyboard } from "./artifacts.ts"; import { type AgentState, type SkillGraph } from "./graph.ts"; import { type KnowledgeLesson } from "./design-knowledge.ts"; export declare function assessDesignContractMigration(root: string): { harvestRestart: false; regenerate: string[]; reasons: string[]; }; /** Invalidate the earliest stale design stage and downstream gates; preserve harvested artifacts on disk. */ export declare function applyDesignContractMigration(root: string, graph: SkillGraph, state: AgentState): { applied: boolean; regenerate: string[]; invalidatedFrom?: string; }; export declare function importStageBlockedByMigration(nodeId: string, regenerate: string[]): boolean; export declare function buildCreativeCheckContext(root: string): string; export declare function validateNarrativeDesign(narrative: NarrativeBrief, business: Business, media?: MediaInventory): string[]; export declare function validateDirectionDesign(direction: Direction, opts: { userTheme?: string; assigned?: boolean; opportunityIds?: string[]; }): string[]; export declare function validateStoryboardDesign(story: Storyboard, opts?: { opportunityIds?: string[]; decisionIds?: string[]; compositionMode?: boolean; }): string[]; export declare function validateTeachingPrinciples(root: string, analysis: ReferenceAnalysis): string[]; export declare function representativeBindingHash(root: string): string; export declare function selectedLessonIdentity(analysis: ReferenceAnalysis | undefined): { id: string; version: number; contentHash: string; }[]; export declare function lessonStillCurrent(lesson: KnowledgeLesson, contentHash: string): boolean;