/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import React from 'react';
import { jsx } from '@emotion/react';
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
import type { TypeAheadItem } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import { CloseSelectionOptions } from '../pm-plugins/constants';
type InputQueryProps = {
    cancel: (props: {
        addPrefixTrigger: boolean;
        forceFocusOnEditor: boolean;
        setSelectionAt: CloseSelectionOptions;
        text: string;
    }) => void;
    editorView: EditorView;
    forceFocus: boolean;
    items: TypeAheadItem[];
    onItemSelect: (mode: SelectItemMode) => void;
    onQueryChange: (query: string) => void;
    onQueryFocus: () => void;
    onUndoRedo?: (inputType: 'historyUndo' | 'historyRedo') => boolean;
    reopenQuery?: string;
    selectNextItem: () => void;
    selectPreviousItem: () => void;
    triggerQueryPrefix: string;
};
export declare const InputQuery: React.MemoExoticComponent<({ triggerQueryPrefix, cancel, onQueryChange, onItemSelect, selectNextItem, selectPreviousItem, forceFocus, reopenQuery, onQueryFocus, onUndoRedo, editorView, items, }: InputQueryProps) => jsx.JSX.Element>;
export {};
