import * as i0 from '@angular/core'; import { OnChanges, SimpleChanges } from '@angular/core'; import { NzConfigKey } from 'ng-zorro-antd/core/config'; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ interface SimpleRect { top: number; left: number; width?: number; height?: number; bottom?: number; } declare class NzAffixComponent implements OnChanges { private readonly scrollSrv; private readonly ngZone; private readonly platform; private readonly renderer; private readonly nzResizeObserver; private readonly directionality; private readonly destroyRef; private readonly document; private readonly placeholderNode; readonly _nzModuleName: NzConfigKey; private fixedEl; nzTarget?: string | Element | Window; nzOffsetTop?: null | number; nzOffsetBottom?: null | number; readonly nzChange: i0.OutputEmitterRef; private affixStyle?; private placeholderStyle?; private positionChangeSubscription; private offsetChanged$; private timeout?; private get target(); constructor(); ngOnChanges(changes: SimpleChanges): void; private registerListeners; private removeListeners; getOffset(element: Element, target: Element | Window | undefined): SimpleRect; private setAffixStyle; private setPlaceholderStyle; private syncPlaceholderStyle; updatePosition(e: Event): void; private updateRtlClass; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzOffsetTop: unknown; static ngAcceptInputType_nzOffsetBottom: unknown; } declare class NzAffixModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzAffixComponent, NzAffixModule };