import type { AssistantMessage } from "../types.js";
export interface OverflowPatternConfig {
    pattern: RegExp;
    suggestion: string;
}
export declare const OVERFLOW_PATTERN_CONFIG: OverflowPatternConfig[];
export declare function isContextOverflow(message: AssistantMessage, contextWindow?: number): boolean;
export declare function getOverflowPatterns(): RegExp[];
export declare function getOverflowSuggestion(errorMessage: string | undefined): string | undefined;
