import { ReactNode } from '../../../../shims/react-hooks-shim.js';
export type AsMap = {
    div: JSX.HTMLAttributes<HTMLDivElement>;
    span: JSX.HTMLAttributes<HTMLSpanElement>;
    p: JSX.HTMLAttributes<HTMLParagraphElement>;
};
export type TooltipProps<T extends keyof AsMap = "span"> = {
    as?: T;
    title?: string | ReactNode;
    icon?: ReactNode;
} & AsMap[T];
