import React from 'react'; import { LayoutDirection } from './constants'; import { ShareListProps, ShareListDefaultProps } from './ShareList/ShareList'; import { PopupPlacement } from '../Popup'; import { SVGIconData } from '../Icon/types'; interface ShareTooltipDefaultProps extends ShareListDefaultProps { /** Web Share API setting (social networks can be specified for non supported api case) */ useWebShareApi: boolean; /** tooltip opening direction */ placement: PopupPlacement; /** should open tooltip with hover */ openByHover: boolean; /** should close tooltip when cursor is outside */ autoclosable: boolean; /** delay before tooltip will be hidden when cursor is otside */ closeDelay: number; /** control-icon size */ iconSize: number; /** elements location direction */ direction: LayoutDirection; } export interface ShareTooltipProps extends ShareListProps, Partial { /** icon control mixin */ iconClass?: string; /** tooltip mixin */ tooltipClassName?: string; /** sitcher mixin */ switcherClassName?: string; /** custom icon */ customIcon?: SVGIconData; /** icon title */ buttonTitle?: string | React.ReactNode; /** metrika traking registration handler */ handleMetrika?: () => void; } declare type ShareTooltipInnerProps = Omit & Required>; export declare const shareTooltipDefaultProps: ShareTooltipDefaultProps; export declare class ShareTooltip extends React.PureComponent { static defaultProps: ShareTooltipDefaultProps; render(): JSX.Element; private handleClick; } export {};