import { Paragraph } from "./paragraph"; import * as wasm from "./pkg"; import { Table } from "./table"; import { TableOfContentsItem } from "./table-of-contents-item"; import { ParagraphProperty } from "./paragraph-property"; export declare class TableOfContents { _instrText?: string; _headingStylesRange: [number, number] | null; _styleWithLevels: { styleId: string; level: number; }[]; _hyperlink: boolean; _alias: string; _auto: boolean; _withoutSdt: boolean; _dirty: boolean; _items: TableOfContentsItem[]; _pageRefPlaceholder: string; _beforeContents: (Paragraph | Table)[]; _afterContents: (Paragraph | Table)[]; _delete: { author: string; date: string; } | null; _paragraphProperty: ParagraphProperty | null; _tcFieldIdentifier?: string | null; constructor(instrText?: string); addBeforeParagraph(p: Paragraph): this; addBeforeTable(t: Table): this; addAfterParagraph(p: Paragraph): this; addAfterTable(t: Table): this; headingStylesRange: (r: [number, number]) => this; tcFieldIdentifier: (f?: string) => this; addStyleWithLevel: (styleId: string, level: number) => this; hyperlink: () => this; alias: (alias: string) => this; pageRefPlaceholder: (placeholder: string) => this; auto: () => this; dirty: () => this; withoutSdt: () => this; delete: (author: string, date: string) => this; addItem: (item: TableOfContentsItem) => this; paragraphProperty(p: ParagraphProperty): this; buildWasmObject: () => wasm.TableOfContents; }