import * as React from 'react'; 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'] | undefined; /** * Включает абсолютное смещение по `arrowOffset`. */ isStaticArrowOffset?: FloatingArrowProps['isStaticOffset'] | undefined; }; export interface OnboardingTooltipProps extends AllowedFloatingComponentProps, AllowedTooltipBaseProps, AllowedFloatingArrowProps { /** * Управление поведением возврата фокуса при закрытии всплывающего окна. * @default true */ restoreFocus?: boolean | (() => boolean | HTMLElement) | undefined; /** * Скрывает стрелку, указывающую на якорный элемент. */ disableArrow?: boolean | undefined; /** * Обработчик, который вызывается при нажатии по любому месту в пределах экрана. */ onClose?: ((this: void) => void) | undefined; /** * [a11y] Метка для подложки-кнопки, для описания того, что произойдёт при нажатии. */ overlayLabel?: string | undefined; } /** * @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