import type { KiroHistoryEntry, KiroToolSpec } from "./transform.js"; export declare const HISTORY_LIMIT = 850000; /** The context window size (in tokens) that HISTORY_LIMIT was calibrated for. */ export declare const HISTORY_LIMIT_CONTEXT_WINDOW = 200000; /** Remove images from history entries — they've already been processed by the * model in previous turns and re-sending them wastes context / causes 413s. */ export declare function stripHistoryImages(history: KiroHistoryEntry[]): KiroHistoryEntry[]; export declare function sanitizeHistory(history: KiroHistoryEntry[]): KiroHistoryEntry[]; export declare function injectSyntheticToolCalls(history: KiroHistoryEntry[]): KiroHistoryEntry[]; export declare function truncateHistory(history: KiroHistoryEntry[], limit: number): KiroHistoryEntry[]; export declare function extractToolNamesFromHistory(history: KiroHistoryEntry[]): Set; export declare function addPlaceholderTools(tools: KiroToolSpec[], history: KiroHistoryEntry[]): KiroToolSpec[]; //# sourceMappingURL=history.d.ts.map