import { type RefObject } from "react"; import { useAppContext } from "../../app-context.js"; import { useConversationSearch, type ConversationSearchMatch } from "../../lib/use-conversation-search.js"; export default function SessionSearchDialog(props: { workspaceId: string; open: boolean; onOpenChange: (open: boolean) => void; returnFocus?: RefObject | undefined; /** Start with this query (the ⌘K menu's "Search messages for …"). */ seed?: { query: string; nonce: number; } | null | undefined; }): import("react").JSX.Element; type SessionSearchPreviewProps = { client: ReturnType["client"]; authority: string; workspaceId: string; sessionId: string; title: string; query: string; enabled: boolean; onOpen: (match?: ConversationSearchMatch) => void; onBack: () => void; search: ReturnType; index: number; setIndex: (index: number) => void; scrollPosition: RefObject; onAccessDenied?: (() => void) | undefined; }; export declare function SessionSearchPreview(props: SessionSearchPreviewProps): import("react").JSX.Element; export {};