import * as i0 from "@angular/core";
export type BorderDirection = 'top' | 'left' | 'right' | 'bottom';
type BorderDistances = {
    [key in BorderDirection]: number;
};
export declare class QdScrollingService {
    scrollIntoViewIfNeeded(element: HTMLElement, borderDirection?: BorderDirection, targetBorderDistance?: number): void;
    scrollIntoView(element: HTMLElement, borderDirection?: BorderDirection, targetBorderDistance?: number, onlyIfOutsideView?: boolean): void;
    getBorderDistances(element: HTMLElement): BorderDistances;
    private isInViewport;
    static ɵfac: i0.ɵɵFactoryDeclaration<QdScrollingService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<QdScrollingService>;
}
export {};
//# sourceMappingURL=scrolling.service.d.ts.map