import * as React from "react"; import { HTMLInputProps, IInputGroupProps, IOverlayProps } from "reui-core"; import { IListItemsProps } from "../../common"; export interface IOmnibarProps extends IListItemsProps { /** * Props to spread to the query `InputGroup`. Use `query` and * `onQueryChange` instead of `inputProps.value` and `inputProps.onChange` * to control this input. Use `inputRef` instead of `ref`. */ inputProps?: IInputGroupProps & HTMLInputProps; /** * Toggles the visibility of the omnibar. * This prop is required because the component is controlled. */ isOpen: boolean; /** * A callback that is invoked when user interaction causes the omnibar to * close, such as clicking on the overlay or pressing the `esc` key (if * enabled). Receives the event from the user's interaction, if there was an * event (generally either a mouse or key event). * * Note that due to controlled usage, this component will not actually close * itself until the `isOpen` prop becomes `false`. * . */ onClose?: (event?: React.SyntheticEvent) => void; /** Props to spread to `Overlay`. */ overlayProps?: Partial; } export declare class Omnibar extends React.PureComponent> { static displayName: string; static ofType(): new (props: IOmnibarProps) => Omnibar; private TypedQueryList; private queryList?; private refHandlers; render(): JSX.Element; private renderQueryList; private handleOverlayClose; }