/** * [WHO]: isSameVisibleUserQuery(), consumeMatchingVisibleUserQuery() * [FROM]: Depends only on string normalization * [TO]: Consumed by interactive render/rebuild paths that reconcile optimistic user echoes * [HERE]: modes/interactive/user-query-dedupe.ts - shared user query dedupe predicate */ export interface OptimisticUserQuery { text: string; } export declare function isSameVisibleUserQuery(optimisticText: string, runtimeText: string): boolean; export declare function consumeMatchingVisibleUserQuery(optimisticMessages: OptimisticUserQuery[], runtimeText: string, options?: { consumeOldestOnMismatch?: boolean; }): boolean;