export interface SearchTargetMatch { messageIndex: number; uuid: string | null; snippet: string; /** * All matching message indexes, ascending. When any plain-text match exists * only text matches are listed (they are the navigable/highlightable ones); * otherwise the thinking/tool fallback matches are. Capped at the LAST * MAX_MATCH_INDEXES entries — navigation starts at the tail-most match. */ matchIndexes: number[]; /** Uncapped true match count (the "of M" in the client counter). */ totalMatches: number; } export interface SearchableMessage { text?: string; uuid?: string | null; isThinking?: boolean; thinkingContent?: string; metadata?: { toolUseBlocks?: Array<{ input?: unknown; }>; toolResults?: Array<{ content?: unknown; }>; }; } export declare function findSearchTarget(messages: SearchableMessage[], query: string): SearchTargetMatch | null; //# sourceMappingURL=findSearchTarget.d.ts.map