import { HTMLAttributes, ReactNode, Ref } from 'react';
import { ComponentColor, IComponentBaseProps } from '../types';
export declare const TOOLTIP = "tooltip";
export type TooltipPosition = "top" | "right" | "bottom" | "left";
export declare const POSITION_MAP: Record;
export declare const COLOR_MAP: Record;
export declare const TOOLTIP_MAP: {
open: string;
success: string;
info: string;
warning: string;
error: string;
primary: string;
secondary: string;
accent: string;
neutral: string;
ghost: string;
top: string;
right: string;
bottom: string;
left: string;
};
export interface TooltipProps extends Omit, "color" | "content">, IComponentBaseProps {
ref?: Ref;
tip?: string;
content?: ReactNode;
position?: TooltipPosition;
color?: ComponentColor;
open?: boolean;
autoPosition?: boolean;
children: ReactNode;
}