import { Paragraph } from "./paragraph"; import { LineSpacing, ParagraphProperty } from "./paragraph-property"; import { Table } from "./table"; import { TableOfContents } from "./table-of-contents"; import { RunFonts } from "./run-property"; import { AbstractNumbering } from "./abstract-numbering"; import { Numbering } from "./numbering"; import { BookmarkStart } from "./bookmark-start"; import { BookmarkEnd } from "./bookmark-end"; import { CharacterSpacingValues, Settings } from "./settings"; import { DocProps } from "./doc-props"; import { Style } from "./style"; import { Styles } from "./styles"; import { WebExtension } from "./webextension"; import { Footer } from "./footer"; import { Header } from "./header"; import { SectionProperty, PageMargin, PageOrientationType } from "./section-property"; import { CommentJSON, DocGridType, DocxJSON } from "./json"; import * as wasm from "./pkg"; import { Level } from "./level"; export declare class Docx { children: (Paragraph | Table | BookmarkStart | BookmarkEnd | TableOfContents)[]; hasNumberings: boolean; abstractNumberings: AbstractNumbering[]; numberings: Numbering[]; settings: Settings; docProps: DocProps; sectionProperty: SectionProperty; _taskpanes: boolean; webextensions: WebExtension[]; customItems: { id: string; xml: string; }[]; styles: Styles; addTableOfContents(t: TableOfContents): this; addStyle(s: Style): this; addParagraph(p: Paragraph): this; addBookmarkStart(id: number, name: string): this; addBookmarkEnd(id: number): this; addTable(t: Table): this; addAbstractNumbering(num: AbstractNumbering): this; addNumbering(num: Numbering): this; docId(id: string): this; defaultTabStop(stop: number): this; createdAt(date: string): this; customProperty(name: string, item: string): this; updatedAt(date: string): this; addDocVar(name: string, val: string): this; header(f: Header): this; firstHeader(h: Header): this; evenHeader(h: Header): this; footer(f: Footer): this; firstFooter(f: Footer): this; evenFooter(f: Footer): this; titlePg(): this; pageSize(w: number, h: number): this; pageMargin(margin: Partial): this; pageOrientation(o: PageOrientationType): this; docGrid(type: DocGridType, linePitch?: number, charSpace?: number): this; adjustLineHeightInTable(): this; characterSpacingControl(v: CharacterSpacingValues): this; defaultSize(size: number): this; defaultFonts(fonts: RunFonts): this; defaultCharacterSpacing(spacing: number): this; defaultLineSpacing(spacing: LineSpacing): this; taskpanes(): this; webextension(e: WebExtension): this; addCustomItem(id: string, xml: string): this; buildRunFonts: (fonts: RunFonts | undefined) => wasm.RunFonts; buildLineSpacing(p: ParagraphProperty): wasm.LineSpacing | null; buildLevel(l: Level): wasm.Level; createDocx(): wasm.Docx; json(): DocxJSON; commentsJson(): { comments: CommentJSON[]; }; build(): Uint8Array; } export declare const readDocx: (buf: Uint8Array) => DocxJSON; export declare const readXML: (xml: string) => DocxJSON; export * from "./paragraph"; export * from "./paragraph-property"; export * from "./insert"; export * from "./delete"; export * from "./border"; export * from "./tc"; export * from "./table"; export * from "./table-cell"; export * from "./table-cell-border"; export * from "./table-cell-borders"; export * from "./table-of-contents"; export * from "./table-of-contents-item"; export * from "./table-row"; export * from "./run"; export * from "./run-property"; export * from "./text"; export * from "./style"; export * from "./styles"; export * from "./hyperlink"; export * from "./comment"; export * from "./comment-end"; export * from "./numbering"; export * from "./abstract-numbering"; export * from "./bookmark-start"; export * from "./bookmark-end"; export * from "./break"; export * from "./delete-text"; export * from "./level"; export * from "./tab"; export * from "./json"; export * from "./webextension"; export * from "./header"; export * from "./page-num"; export * from "./num-pages"; export * from "./footer"; export * from "./image"; export * from "./positional-tab";