import { default as React, ReactNode } from 'react'; import { TooltipOptions } from './TooltipContext'; export type TooltipProps = { /** * The content around which the tooltip will go */ children: ReactNode; /** * The tooltip's content */ content: ReactNode | ReactNode[]; /** * Whether the trigger is a custom element * @see https://grapes.spendesk.design/docs/components/tooltip#triggeraschild-and-forwardref * @default false */ triggerAsChild?: boolean; /** * The maximum width of the tooltip * @default 232 */ maxWidth?: number; /** * Whether the tooltip should be disabled * @default false */ isDisabled?: boolean; } & TooltipOptions; /** * Displays informative text when users hover an element. * @see https://grapes.spendesk.design/docs/components/tooltip */ export declare function Tooltip({ children, content, triggerAsChild, maxWidth, isDisabled, ...options }: TooltipProps): React.JSX.Element; //# sourceMappingURL=Tooltip.d.ts.map