import { DocumentSlot, Document } from '../types/document.js'; import '../types/list.js'; import '../types/memory.js'; type RenderSlotPlaceholder = (slot: DocumentSlot) => string; /** * Renders a document to final markdown by substituting each `{{slot:slotId}}` * token in `content` with the resolved fragment of the matching slot. Slots * that are not yet resolved fall back to a status placeholder. * * Tokens with no matching slot are left untouched. */ declare function renderDocument(document: Document, placeholder?: RenderSlotPlaceholder): string; export { type RenderSlotPlaceholder, renderDocument };