export declare function significantTokens(text: string): Set; /** True when ≥70% of the utterance's significant tokens appear in `handled`. */ export declare function overlapsHandled(utterance: string, handled: Set): boolean; /** * Only the words the person actually SAID/typed count as handled. Injected * chat messages wrap the utterance in scaffolding (a "# Device Activity" * preamble with "[hh:mm:ss] you: …" lines, "[reminder: …]" tails) and system * events arrive as pure "[bracketed]" user messages — that token soup * blanket-matched every short voice follow-up for 90s (observed 2026-07-16: * three "how are you, koi?" in a row dropped as already-handled). */ export declare function handledUtteranceText(text: string): string; /** * Union of significant tokens across user messages that landed in the * session transcript within the last 90s. Tail-reads the JSONL (transcripts * grow large); parse failures degrade to "nothing handled". */ export declare function recentHandledTokens(transcriptPath: string, nowMs?: number): Set;