import { Component } from '../../../../../client/component';
import { Element } from '../../../../../client/element';
import { System } from '../../../../../system';
import { Dict } from '../../../../../types/Dict';
import Div from '../../Div/Component';
export interface Props {
    className?: string;
    style?: Dict<string>;
    icon?: string;
    title?: string;
    shortcut?: string;
    component?: Component;
    x?: number;
    y?: number;
}
export declare const TOOLTIP_WIDTH = 30;
export declare const TOOLTIP_HEIGHT = 30;
export declare const DEFAULT_STYLE: {
    position: string;
    minWidth: string;
    width: string;
    height: string;
    margin: string;
    background: string;
    borderRadius: string;
    border: string;
    color: string;
    boxSizing: string;
};
export default class Tooltip extends Element<HTMLDivElement, Props> {
    _tooltip: Div;
    constructor($props: Props, $system: System);
    onPropChanged(prop: string, current: any): void;
    show(): void;
    hide(): void;
    private _reposition;
    hidden(): boolean;
    private _context_unlisten;
    private _refresh_background_color;
    private _on_context_theme_changed;
    private _on_context_resize;
    onMount(): void;
    onUnmount(): void;
}
