import type { RecallResult } from "../types/memory.js"; export interface PromptProjectionOptions { /** UTF-8 budget for the entire returned text, including JSON framing. Default 8192. */ maxBytes?: number; /** Add source API names and inline warnings when a field may have lost qualifiers. */ includeProvenance?: boolean; /** Requires the host's tokenizer; no character-to-token approximation is used. */ maxTokens?: number; countTokens?: (text: string) => number; } export interface PromptProjection { /** JSONL data, not instructions. Inject this text, not the original RecallResult. */ text: string; bytes: number; tokens?: number; truncated: boolean; } /** Allowlisted, bounded data projection. It does not sanitize prompt injection in memory text. */ export declare function projectRecallForPrompt(result: RecallResult, options?: PromptProjectionOptions): PromptProjection;