import * as React from "react"; import { InputGroupProps2, OverlayProps } from "@blueprintjs/core"; import { ListItemsProps } from "../../common"; export declare type OmnibarProps = IOmnibarProps; /** @deprecated use OmnibarProps */ export interface IOmnibarProps extends ListItemsProps { /** * Props to spread to the query `InputGroup`. Use `query` and * `onQueryChange` instead of `inputProps.value` and `inputProps.onChange` * to control this input. */ inputProps?: InputGroupProps2; /** * 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; } /** * Omnibar component. * * @see https://blueprintjs.com/docs/#select/omnibar */ export declare class Omnibar extends React.PureComponent> { static displayName: string; static ofType(): new (props: OmnibarProps) => Omnibar; render(): JSX.Element; private renderQueryList; private handleOverlayClose; }