import { WindowRef } from '@duoduo-oba/ng-devui/window-ref';
import { DocumentRef } from '@duoduo-oba/ng-devui/window-ref';
export declare class PositionService {
    private documentRef;
    private windowRef;
    constructor(documentRef: DocumentRef, windowRef: WindowRef);
    position(element: HTMLElement, round?: boolean): ClientRect;
    offset(element: HTMLElement, round?: boolean): ClientRect;
    getScrollParent(element: any): any;
    positionElements(hostElement: HTMLElement, targetElement: HTMLElement, placement: string, appendToBody?: boolean): ClientRect;
    private getStyle;
    private isStaticPositioned;
    private offsetParent;
}
