import { type ReactNode } from 'react'; import type { AriaLabelingProps } from '../../core/types/a11y-props.js'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { DataTestId } from '../../core/types/data-props.js'; import type { MaskingProps } from '../../core/types/masking-props.js'; import type { StylingProps } from '../../core/types/styling-props.js'; import type { TooltipBaseProps } from '../../overlays/tooltip/tooltip.types.js'; /** * Accepted properties for KeyboardShortcutTooltip * @public */ export interface KeyboardShortcutTooltipProps extends TooltipBaseProps, StylingProps, DataTestId, MaskingProps, AriaLabelingProps, BehaviorTrackingProps { /** * The list of keys the component should display, specified in the aria-keyshortcuts format. */ keys: string; /** * Whether the component should be rendered in a disabled state. * @defaultValue 'false' */ shortcutDisabled?: boolean; /** Text displayed in the tooltip component. */ text?: ReactNode; } /** * Use the `KeyboardShortcutTooltip` component to display a keyboard shortcut inside a tooltip. * @public */ export declare const KeyboardShortcutTooltip: (props: KeyboardShortcutTooltipProps & import("react").RefAttributes) => import("react").ReactElement | null;