/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import type { ReactNode } from 'react';
import React from 'react';
import { jsx } from '@emotion/react';
import type { IntlShape } from 'react-intl/src/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { EditorAppearance } from '../../types';
import type { UseStickyToolbarType } from '../../ui';
export interface KeyDownHandlerContext {
    handleArrowLeft: () => void;
    handleArrowRight: () => void;
    handleTab: () => void;
}
export declare const KeyDownHandlerContext: React.Context<KeyDownHandlerContext>;
/**
 * This component is a wrapper of main toolbar which listens to keydown events of children
 * and handles left/right arrow key navigation for all focusable elements
 * @param
 * @returns
 */
export declare const ToolbarArrowKeyNavigationProvider: ({ children, editorView, childComponentSelector, handleEscape, disableArrowKeyNavigation, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar, intl, }: {
    childComponentSelector: string;
    children: ReactNode;
    disableArrowKeyNavigation?: boolean;
    editorAppearance?: EditorAppearance;
    editorView?: EditorView;
    handleEscape?: (event: KeyboardEvent) => void;
    intl: IntlShape;
    isShortcutToFocusToolbar?: (event: KeyboardEvent) => boolean;
    useStickyToolbar?: UseStickyToolbarType;
}) => jsx.JSX.Element;
