import { type SceneDocumentData } from "@skenora/contracts"; import { type ScenePlanDiagnostic } from "../diagnostics/diagnostics.js"; import type { ScenePatch } from "../model/types.js"; import type { PlanSceneFragmentInsertionOptions, SceneFragmentInsertionContext, SceneFragmentInsertionResult } from "./types.js"; /** Produces one ordinary Patch. No Editor, resource acquisition or live mutation. */ export declare function planSceneFragmentInsertion(input: unknown, targetContext: SceneFragmentInsertionContext, options: PlanSceneFragmentInsertionOptions): SceneFragmentInsertionResult; type InsertionIdentity = Omit, "ok" | "patch" | "diagnostics">; type InsertionBatchResult = { ok: false; diagnostics: readonly ScenePlanDiagnostic[]; } | { ok: true; patch: ScenePatch; candidate: SceneDocumentData; insertions: InsertionIdentity[]; diagnostics: readonly ScenePlanDiagnostic[]; }; /** Internal shared compiler: one owned candidate and one final native/Patch validation. */ export declare function planFragmentInsertions(input: unknown, targetContext: SceneFragmentInsertionContext, optionsList: readonly PlanSceneFragmentInsertionOptions[]): InsertionBatchResult; export {}; //# sourceMappingURL=plan.d.ts.map