import { Overlay } from "@angular/cdk/overlay";
import { TooltipComponent, TooltipOptions, TooltipPosition } from "./tooltip.component";
import * as i0 from "@angular/core";
export declare class TooltipService {
    private overlay;
    private positions;
    constructor(overlay: Overlay);
    /**
     * Show a tooltip attached to a specified element
     */
    show(anchor: HTMLElement, position?: TooltipPosition, options?: TooltipOptions): TooltipComponent;
    onMove(event: MouseEvent, contentRect: DOMRect): boolean;
    private getOverlayConfig;
    static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
}
