import React, { HTMLAttributes } from 'react';
import { SearchReflection, ReflectionId } from '@tygen/reflector';
import { BaseView, ViewSettings } from '../view';
import { Payload } from '../utils/payload';
import { NavTree, TreeRowProps } from './tree-render';
import { StructureItem } from '../structure';
export declare class SearchPage extends BaseView {
render(): JSX.Element;
}
export declare class Search_ extends React.Component<{
reflection?: SearchReflection;
settings: ViewSettings;
}> {
input?: HTMLInputElement;
open: boolean;
query: string;
reflection: import("../utils/promise").MobxPromise;
readonly currentPackage: string | undefined;
readonly items: Payload<{
local: ReflectionId[];
global: ReflectionId[];
}>;
readonly results: Payload<{
local: ReflectionId[];
global: ReflectionId[];
}>;
readonly resultTree: Payload>;
componentDidMount(): void;
componentWillUnmount(): void;
render(): JSX.Element;
renderItem(row: TreeRowProps): JSX.Element | null;
onFocus: () => void;
onBlur: () => void;
onClose: () => void;
onWindowKeyDown: (e: KeyboardEvent) => void;
onKeyDown: (e: React.KeyboardEvent) => void;
onChange: (e: React.FormEvent) => void;
}
export declare const Search: React.StatelessComponent>;
export declare class NotScrollable extends React.Component {
componentDidMount(): void;
componentWillUnmount(): void;
render(): null;
}
export declare class Overlay extends React.Component> {
render(): JSX.Element;
}
//# sourceMappingURL=search.d.ts.map