import React from 'react';
export type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom';
type Props = {
    text?: string;
    position?: TooltipPosition;
    hoverDelay?: number;
    hideDelay?: number;
    opened?: boolean;
    readonly?: boolean;
    staticDisplay?: boolean;
    children?: React.ReactNode;
};
declare module 'react' {
    interface HTMLAttributes<T> {
        slot?: string;
    }
}
declare global {
    namespace React.JSX {
        interface IntrinsicElements {
            'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
        }
    }
}
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & Props & React.RefAttributes<HTMLElement>>;
export default Tooltip;
export interface ITooltip {
    hasTooltip?: boolean;
    tooltipText?: string;
    tooltipPosition?: TooltipPosition;
    tooltipHoverDelay?: number;
    tooltipHideDelay?: number;
    tooltipOpened?: boolean;
    tooltipReadOnly?: boolean;
    tooltipStaticDisplay?: boolean;
}
