import * as _angular_core from '@angular/core'; import { TemplateRef, OnDestroy } from '@angular/core'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XNumber } from '@ng-nest/ui/core'; import { XPortalOverlayRef } from '@ng-nest/ui/portal'; /** * BackTop * @selector x-back-top * @decorator component */ declare const XBackTopPrefix = "x-back-top"; declare const XBackTopProperty_base: new () => { config: _ng_nest_ui_core.XBackTopConfig | undefined; }; /** * BackTop Property */ declare class XBackTopProperty extends XBackTopProperty_base { /** * @zh_CN 距离右边的距离 * @en_US Distance to the right */ readonly right: _angular_core.InputSignalWithTransform; /** * @zh_CN 距离底部的距离 * @en_US Distance from bottom */ readonly bottom: _angular_core.InputSignalWithTransform; /** * @zh_CN 滚动多少高度后显示 * @en_US Display after scrolling how much height */ readonly visibilityHeight: _angular_core.InputSignalWithTransform; /** * @zh_CN 内容模板 * @en_US Content template */ readonly template: _angular_core.InputSignal | undefined>; /** * @zh_CN 滚动的元素 * @en_US Scroll element */ readonly target: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XBackTopComponent extends XBackTopProperty implements OnDestroy { backTopTpl: _angular_core.Signal>; visiable: _angular_core.WritableSignal; scrolling: _angular_core.WritableSignal; portalRef: XPortalOverlayRef; private doc; private portal; private viewContainerRef; private unSubject; scroll: _angular_core.Signal; constructor(); ngOnDestroy(): void; onBackTop(): void; private addEvent; private scrollTop; private setVisible; private scrollTo; private setScrollTop; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XBackTopModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { XBackTopComponent, XBackTopModule, XBackTopPrefix, XBackTopProperty };