import * as React from 'react';
interface Props {
}
interface State {
    subject?: HTMLElement;
    subjectSeq: number;
    content?: string;
}
/**
 * A global tooltip displayed for elements containing a `data-tooltip` attribute.
 */
export declare class Tooltip extends React.PureComponent<Props, State> {
    private static SUBJECT_ATTRIBUTE;
    /**
     * Singleton instance, so that other components can call Tooltip.forceUpdate().
     */
    private static INSTANCE;
    state: State;
    /**
     * Forces an update of the tooltip content. Other components must call this if they modify their tooltip
     * content while the tooltip is still visible.
     */
    static forceUpdate(): void;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): React.ReactFragment | null;
    private toggleHint;
    private updateContent;
    /**
     * Find the nearest ancestor element to e that contains a tooltip.
     */
    private getSubject;
    private getContent;
}
export {};
//# sourceMappingURL=Tooltip.d.ts.map