import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
import { INPUT_METHOD } from '../analytics';
import type { ContextualFormattingEnabledOptions } from './types';
export declare const getInputMethodFromParentKeys: (parents: ToolbarComponentTypes) => INPUT_METHOD.FLOATING_TB | INPUT_METHOD.TOOLBAR;
/**
 * Determines whether the primary (top) toolbar should be shown based on contextual formatting mode
 * and toolbar docking position preference.
 *
 * @param contextualFormattingEnabled - The contextual formatting mode
 * @param toolbarDockingPosition - The user's toolbar docking preference
 * @returns true if the primary toolbar should be displayed, false otherwise
 */
export declare const shouldShowPrimaryToolbar: (contextualFormattingEnabled?: ContextualFormattingEnabledOptions, toolbarDockingPosition?: "top" | "none") => boolean;
/**
 * Determines whether the selection (inline) toolbar should be shown based on contextual formatting mode
 * and toolbar docking position preference.
 *
 * @param contextualFormattingEnabled - The contextual formatting mode
 * @param toolbarDockingPosition - The user's toolbar docking preference
 * @returns true if the selection toolbar should be displayed, false otherwise
 */
export declare const shouldShowSelectionToolbar: (contextualFormattingEnabled: ContextualFormattingEnabledOptions, toolbarDockingPosition?: "top" | "none") => boolean;
