import { type RefObject } from "react"; export type SearchResultSummary = { sessionId: string; title: string; subtitle: string; snippet: string; matchingMessages: number; titleMatch: boolean; }; export declare function SearchResultsView(props: { query: string; results: SearchResultSummary[]; selectedId: string | null; onSelect: (id: string) => void; loading: boolean; error: string | null; onRetry: () => void; hasMore: boolean; onMore: () => void; scrollPosition?: RefObject | undefined; active?: boolean | undefined; }): import("react").JSX.Element; export type SearchPreviewMessage = { key: string; role: "user" | "assistant"; text: string; selected: boolean; formatted?: boolean | undefined; snippet?: string | undefined; offset?: number | undefined; }; export declare function SearchPreviewView(props: { title: string; query: string; messages: SearchPreviewMessage[]; loading: boolean; error: string | null; onRetry: () => void; onOpen: () => void; onBack: () => void; onPrevious: () => void; onNext: () => void; previousDisabled: boolean; nextDisabled: boolean; counter: string; titleOnly: boolean; scrollPosition?: RefObject | undefined; active?: boolean | undefined; }): import("react").JSX.Element;