import type { HTMLAttributes, ReactElement } from 'react';
import type { PortalAlign } from '../portal';
interface TooltipProps extends Omit, 'children'> {
readonly label: string | number;
readonly icon?: ReactElement | undefined;
/**
* When `true` it uses the `aria-labelledby` attributed rather than the `aria-describedby` attribute
* @default false
*/
readonly primaryLabel?: boolean | undefined;
/** @default ['bottom', 'center'] */
readonly align?: PortalAlign | undefined;
readonly children: ReactElement;
}
export type { TooltipProps };