//#region src/ai-editor/sourceProjects.d.ts /** An immutable, session-owned copy of an executable composition project. */ interface SourceProjectRef { id: string; entryPath: string; title: string; width: number; height: number; durationMs: number; } interface SourceProject { reference: SourceProjectRef; referenceId: string; files: Array<{ path: string; content: string; }>; assets: Array<{ path: string; mimeType: string; }>; } interface SourceProjectEdit { path: string; old_string: string; new_string: string; } interface SourceProjectStore { create(referenceId: string): Promise; read(id: string): Promise; edit(id: string, edits: SourceProjectEdit[]): Promise; root(id: string): Promise; } interface SourceProjectRuntime { store: SourceProjectStore; validate(id: string, signal?: AbortSignal): Promise; document(id: string, options: { assetBaseUrl: string; }): Promise; } //#endregion export { SourceProject, SourceProjectEdit, SourceProjectRef, SourceProjectRuntime, SourceProjectStore }; //# sourceMappingURL=sourceProjects.d.ts.map