/**
 * Ephemeral grounding-context assembly.
 *
 * Renders the selected entries into a single delimited, token-bounded block
 * with reference-data instructions and stable `[KB:<id>@<version>]` citations.
 * The delimiter is provider-neutral (`<knowledge_context>`) because this layer
 * is generic SDK code. Entries are emitted in selection order (relevance, then
 * dependency); when the budget is tight an entry is degraded to summary-only
 * before any entry is dropped.
 */
import type { KnowledgeAssembledContext, KnowledgeContextConfig, KnowledgeSelection } from "../types/index.js";
/**
 * Assemble the selected entries into a bounded grounding block. Primary entries
 * come first, then relationship-expanded ones. Returns the string, the
 * citations for included entries, an estimated token count, and whether any
 * entry was degraded or dropped for budget.
 */
export declare const assembleKnowledgeContext: (selection: KnowledgeSelection, config: KnowledgeContextConfig | undefined) => KnowledgeAssembledContext;
