import { type ReactNode } from 'react'; import { type DataTestId, type MaskingProps, type StylingProps } from '@dynatrace/strato-components/core'; import { type TooltipBaseProps } from '../../overlays/tooltip/Tooltip.js'; /** * Accepted properties for KeyboardShortcutTooltip * @public */ export interface KeyboardShortcutTooltipProps extends TooltipBaseProps, StylingProps, DataTestId, MaskingProps { /** * 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 `KeyboardShortcut` along with an optional text inside a tooltip. * The `KeyboardShortcutTooltip` opens on hover and click on its trigger element. * The trigger element can only be an interactive element, like a button or input. * @public */ export declare const KeyboardShortcutTooltip: (props: KeyboardShortcutTooltipProps & import("react").RefAttributes) => React.ReactElement | null;