import type { MemoryRecord } from "@oscharko-dev/keiko-contracts/memory";
import type { AssembledContext, IncludedMemory } from "./types.js";
export declare const TOKEN_PER_WORD_RATIO = 1.3;
export declare function estimateTokens(text: string): number;
export interface AssembleContextOptions {
    readonly budgetTokens: number;
    readonly maxIncluded: number;
}
/**
 * Assemble a token-budgeted context block from a pre-ranked memory list. Returns
 * `Omit<MemoryRetrievalResult, "request">` because the assembler has no need for the
 * request envelope to compose its output; the orchestrator (retrieveMemoryContext)
 * attaches `request` after calling this function.
 */
export declare function assembleContextBlock(ranked: readonly IncludedMemory[], memories: readonly MemoryRecord[], options: AssembleContextOptions): AssembledContext;
//# sourceMappingURL=context.d.ts.map