import { EventEmitter } from '../../../stencil-public-runtime';
export interface TocItem {
    id: string;
    text: string;
    level: number;
}
export declare class SpwTocContainer {
    el: HTMLSpwTocContainerElement;
    tocItemsChanged: EventEmitter<TocItem[]>;
    private observer;
    componentDidLoad(): void;
    disconnectedCallback(): void;
    getItems(): Promise<TocItem[]>;
    private setupMutationObserver;
    private slugify;
    private scanHeadings;
    render(): any;
}
