/** Validate a hit against its exact source offset; never format a stale event as the match. */ export declare function matchAtOffset(text: string, query: string, offset: number): number; /** Search hit excerpts are authoritative until the exact retained event has been revalidated. */ export declare function selectedFormattedMessage(preview: { status: "available"; text: string; } | { status: "unavailable"; }, match: { messageMatchOffset: number; }, query: string): string | null; /** Non-mutating browser highlight so ReactMarkdown keeps its own text and table DOM. */ export declare function SearchMarkdown({ text, query, snippet, offset, }: { text: string; query: string; snippet: string; offset?: number | undefined; }): import("react").JSX.Element;