import { ElementType } from 'react'; import { SystemStyleObject, TooltipProps as ChakraTooltipProps } from '@chakra-ui/react'; export interface TouchableTooltipProps extends Omit { /** * Styles for the container which wraps the children. */ wrapperStyles?: SystemStyleObject; wrapperAs?: ElementType; } /** @deprecated Use TouchableTooltipProps instead */ export interface TooltipProps extends TouchableTooltipProps { } /** * This component allows for touchable tooltips on mobile. * * Only use this component if you want the tooltip to be triggerable on mobile, otherwise * use the `Tooltip` component. * * The component will not support the `delay` prop as the tooltip will open instantly when touched. */ export declare const TouchableTooltip: { ({ children, wrapperStyles, wrapperAs, ...props }: TouchableTooltipProps): JSX.Element; displayName: string; }; /** * @deprecated Use `TouchableTooltip` instead. * * If you need to use the `delay` prop, use ChakraUI's `Tooltip` component instead. * This is because the current tooltip implementation does not support the `delay` prop * as the tooltip will open instantly when touched (for mobile compatibility). */ export declare const Tooltip: { ({ children, wrapperStyles, wrapperAs, ...props }: TouchableTooltipProps): JSX.Element; displayName: string; };