import React from "react"; import { ContextOverlayProps } from "../ContextOverlay"; import { TestableComponent } from "../interfaces"; import { TooltipSize } from "../Tooltip/Tooltip"; export interface DecoupledOverlayProps extends React.HTMLAttributes, TestableComponent, Pick { /** * Element that should be used. The step content is displayed as a tooltip instead of a modal. * In case of an array, the first match is highlighted. */ targetSelectorOrElement: string | Element; /** * The size of the overlay. * */ size?: TooltipSize; } /** * Use an overlay popover without the necessity to use a target that need to be rendered in place. * The target is referenced by a selector string or element object. * It can exist somewhere in the DOM, but it must exist when the overlay is rendered. * It is always displayed, close it by removement. */ export declare const DecoupledOverlay: ({ targetSelectorOrElement, usePortal, portalContainer, minimal, placement, size, paddingSize, children, }: DecoupledOverlayProps) => React.JSX.Element; export default DecoupledOverlay;