import { EventEmitter, OnInit, OnDestroy, OnChanges, SimpleChanges, AfterViewInit, NgZone } from '@angular/core';
import { DocsTocMetadata, DocsTocItem } from './types';
import * as i0 from "@angular/core";
/**
* val-docs-toc
*
* A table of contents component with scroll spy functionality.
* Automatically highlights the current section based on scroll position.
*
* @example Manual items
* ```html
*
* ```
*
* @example Auto-generated from headings
* ```html
*
* ```
*/
export declare class DocsTocComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {
private ngZone;
props: DocsTocMetadata;
sectionChange: EventEmitter;
protected activeId: import("@angular/core").WritableSignal;
protected flatItems: import("@angular/core").WritableSignal;
private headingElements;
private scrollHandler;
private rafId;
constructor(ngZone: NgZone);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
private updateFlatItems;
private flattenItems;
private generateTocFromHeadings;
private generateId;
private scrollContainer;
private setupScrollSpy;
private findScrollContainer;
private updateActiveHeading;
private destroyScrollSpy;
scrollToSection(event: Event, id: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}