import { ConnectedPosition, Overlay } from '@angular/cdk/overlay';
import { ComponentPortal } from '@angular/cdk/portal';
import { BehaviorSubject, Observable, Subject } from 'rxjs';
import { AfterViewInit, ElementRef, Injector, OnDestroy, TemplateRef } from '@angular/core';
import { Position } from '@mintplayer/ng-bootstrap';
import * as i0 from "@angular/core";
export declare class BsPopoverDirective implements AfterViewInit, OnDestroy {
    private overlay;
    private templateRef;
    private parentInjector;
    private portalFactory;
    private parent;
    constructor(overlay: Overlay, templateRef: TemplateRef<any>, parentInjector: Injector, portalFactory: (injector: Injector) => ComponentPortal<any>, parent: ElementRef);
    set bsPopover(value: Position);
    updatePosition: boolean;
    private injector;
    private portal;
    private overlayRef;
    private component;
    position$: BehaviorSubject<Position>;
    connectedPosition$: Observable<ConnectedPosition>;
    isVisible$: BehaviorSubject<boolean>;
    destroyed$: Subject<unknown>;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BsPopoverDirective, [null, null, null, null, { host: true; skipSelf: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<BsPopoverDirective, "*[bsPopover]", never, { "bsPopover": "bsPopover"; "updatePosition": "updatePosition"; }, {}, never, never, false, never>;
}
