import * as React from 'react'; import { Subscription } from 'rxjs'; import { IExampleSearch } from './ExampleSearch'; import { SavedQueryFields } from './SavedQueryForm'; interface ScoredSearch { search: IExampleSearch; /** The index in exampleSearches array. */ index: number; /** Score value from matching description against the user inputted filter value. */ score: number; } interface Props { isLightTheme: boolean; onExampleSelected: (q: Partial) => void; onClose: () => void; } interface State { filterTerm: string; numShown: number; scoredSearches: ScoredSearch[]; } export declare class ExampleSearches extends React.Component { state: { filterTerm: string; numShown: number; scoredSearches: ScoredSearch[]; }; listNode: HTMLDivElement | null; subscriptions: Subscription; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; private handleFilterChange; private handleShowMore; } export {}; //# sourceMappingURL=ExampleSearches.d.ts.map