import type { AgentHistoryRecord, Config } from "@/types"; import { type ContextEstimateTokensExtras } from "./contextEstimateTokensWithExtras.js"; /** * Checks if the current history exceeds the emergency context limit. * Expects: config.settings.agents.emergencyContextLimit is a positive integer when set. */ export declare function contextNeedsEmergencyReset(config: Config, history: AgentHistoryRecord[], extras?: ContextEstimateTokensExtras): boolean; //# sourceMappingURL=contextNeedsEmergencyReset.d.ts.map