/** * 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 */ import { Platform } from '@angular/cdk/platform'; import { AfterViewInit, ChangeDetectorRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core'; import { VtsConfigKey, VtsConfigService } from '@ui-vts-kit/ng-vts/core/config'; import { VtsScrollService } from '@ui-vts-kit/ng-vts/core/services'; import { BooleanInput, NgStyleInterface, NumberInput, VtsSafeAny } from '@ui-vts-kit/ng-vts/core/types'; import { VtsAnchorLinkComponent } from './anchor-link.component'; import * as i0 from "@angular/core"; export declare class VtsAnchorComponent implements OnDestroy, AfterViewInit, OnChanges { private doc; vtsConfigService: VtsConfigService; private scrollSrv; private cdr; private platform; private zone; private renderer; readonly _vtsModuleName: VtsConfigKey; static ngAcceptInputType_vtsAffix: BooleanInput; static ngAcceptInputType_vtsShowInkInFixed: BooleanInput; static ngAcceptInputType_vtsBounds: NumberInput; static ngAcceptInputType_vtsOffsetTop: NumberInput; private ink; vtsAffix: boolean; vtsShowInkInFixed: boolean; vtsBounds: number; vtsOffsetTop?: number; vtsContainer?: string | HTMLElement; readonly vtsClick: EventEmitter; readonly vtsScroll: EventEmitter; visible: boolean; wrapperStyle: NgStyleInterface; container?: HTMLElement | Window; private links; private animating; private destroy$; private handleScrollTimeoutID; constructor(doc: VtsSafeAny, vtsConfigService: VtsConfigService, scrollSrv: VtsScrollService, cdr: ChangeDetectorRef, platform: Platform, zone: NgZone, renderer: Renderer2); registerLink(link: VtsAnchorLinkComponent): void; unregisterLink(link: VtsAnchorLinkComponent): void; private getContainer; ngAfterViewInit(): void; ngOnDestroy(): void; private registerScrollEvent; handleScroll(): void; private clearActive; private handleActive; private setVisible; handleScrollTo(linkComp: VtsAnchorLinkComponent): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }