import type { RenderDocument } from '../../operations/types.ts'; /** * Options for assembleDocument */ interface AssembleOptions { /** Whether this is a nested template/slot (prevents recursive template/slot loading) */ isNested?: boolean; /** Optional resolver to find template/slot by path from a document graph */ resolveDocumentPath?: (path: string) => Promise; } /** * Assemble a RenderDocument from local files in the specified directory * This creates an in-memory representation of the document without touching the database * * @param dir - Directory path to read files from (defaults to current working directory) * @param options - Assembly options including isNested flag and optional path resolver * @returns RenderDocument assembled from local files * @throws Error if required files are missing */ export declare function assemble(dir?: string, optionsOrIsNested?: boolean | AssembleOptions): Promise; export {}; //# sourceMappingURL=assemble.d.ts.map