/** @jsxImportSource @opentui/react */ /** * Transcript search chrome (CHAT/V2-057). * * Two modes: * 1. Filter open — focused input, type a term, Enter jumps + leaves sticky find. * 2. Sticky find (bar closed, query kept) — rendered as a status strip so * n/N / Esc are obvious (same model as the pager). */ import type { ReactNode } from "react"; import type { Theme } from "../../../ui-core/rendering/theme.js"; export interface SearchBarProps { readonly theme: Theme; readonly query: string; readonly matchCount: number; readonly activeOrdinal: number; readonly onQueryChange: (value: string) => void; readonly onSubmit: () => void; /** When true, show the focused input. When false, show sticky find strip. */ readonly editing: boolean; } /** Focused filter input while typing a search term. */ export declare function SearchBar(props: SearchBarProps): ReactNode;