import { type ComponentProps, type ComponentPropsWithoutRef, type ElementType, type ReactNode } from 'react';
import { Tooltip as TooltipPrimitive } from 'radix-ui';
export declare function TooltipProvider({ delayDuration, disableHoverableContent, skipDelayDuration, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
export declare const Tooltip: import("react").FC<TooltipPrimitive.TooltipProps>;
export declare const TooltipTrigger: import("react").ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
export declare const TooltipPortal: import("react").FC<TooltipPrimitive.TooltipPortalProps>;
export declare function TooltipContent({ className, sideOffset, ...props }: ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
export declare function TooltipTC({ children, className, content, defaultOpen, delayDuration, disableHoverableContent, open, onOpenChange, ...props }: {
    content: ReactNode;
} & ComponentProps<typeof TooltipPrimitive.Content> & ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
type TooltipProps<T extends ElementType> = {
    shortcut?: ReactNode;
    tooltip?: ReactNode;
    tooltipContentProps?: Omit<ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, 'children'>;
    tooltipProps?: Omit<ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>, 'children'>;
    tooltipTriggerProps?: ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;
} & ComponentProps<T>;
export declare function withTooltip<T extends ElementType>(Component: T): ({ shortcut, tooltip, tooltipContentProps, tooltipProps, tooltipTriggerProps, ...props }: TooltipProps<T>) => import("react/jsx-runtime").JSX.Element;
export {};
