import * as React from 'react'; import { type UseFocusTrapProps } from '../../hooks/useFocusTrap'; import { type FloatingComponentProps } from '../../lib/floating'; import type { FloatingArrowProps } from '../FloatingArrow/FloatingArrow'; import { type TooltipBaseProps } from '../TooltipBase/TooltipBase'; type AllowedFloatingComponentProps = Pick; type AllowedTooltipBaseProps = Omit; type AllowedFloatingArrowProps = { /** * Сдвиг стрелки относительно текущих координат. */ arrowOffset?: FloatingArrowProps['offset']; /** * Включает абсолютное смещение по `arrowOffset`. */ isStaticArrowOffset?: FloatingArrowProps['isStaticOffset']; }; export interface OnboardingTooltipProps extends AllowedFloatingComponentProps, AllowedTooltipBaseProps, AllowedFloatingArrowProps, Pick { /** * Скрывает стрелку, указывающую на якорный элемент. */ disableArrow?: boolean; /** * Обработчик, который вызывается при нажатии по любому месту в пределах экрана. */ onClose?: (this: void) => void; /** * [a11y] Метка для подложки-кнопки, для описания того, что произойдёт при нажатии. */ overlayLabel?: string; } /** * @see https://vkui.io/components/onboarding-tooltip */ export declare const OnboardingTooltip: ({ "id": idProp, children, "shown": shownProp, arrowPadding, arrowHeight, offsetByMainAxis, offsetByCrossAxis, arrowOffset, isStaticArrowOffset, onClose, "placement": placementProp, maxWidth, "style": styleProp, getRootRef, disableArrow, onPlacementChange, disableFlipMiddleware, disableShiftMiddleware, overlayLabel, title, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, restoreFocus, disableFocusTrap, overflowPadding, ...restProps }: OnboardingTooltipProps) => React.ReactNode; export {}; //# sourceMappingURL=OnboardingTooltip.d.ts.map