export interface TTSHistoryEntry {
    text: string;
    timestamp: number;
}
export interface EchoCheckResult {
    isEcho: boolean;
    extractedText: string | null;
}
export declare class EchoDetector {
    private ttsTextHistory;
    private currentTTSText;
    private lastTTSEndTime;
    private static readonly TTS_HISTORY_SIZE;
    private static readonly TTS_ECHO_COOLDOWN_MS;
    checkAndExtractFromEcho(text: string, isTTSPlaying: boolean): EchoCheckResult;
    isSimilarText(a: string, b: string): boolean;
    extractUserTextFromEcho(asrText: string, ttsText: string): string | null;
    isTextSimilarToTTS(text: string): boolean;
    private shouldCheckEcho;
    addTTSToHistory(text: string): void;
    setCurrentTTSText(text: string): void;
    getCurrentTTSText(): string;
    markTTSEnd(): void;
    getLastTTSEndTime(): number;
    reset(): void;
}
export default EchoDetector;
//# sourceMappingURL=EchoDetector.d.ts.map