import { Run } from "./run"; import { RunFonts } from "./run-property"; import { ParagraphProperty, LineSpacing, AlignmentType, SpecialIndentKind, ParagraphPropertyChange } from "./paragraph-property"; import { Insert } from "./insert"; import { Delete } from "./delete"; import { BookmarkStart } from "./bookmark-start"; import { BookmarkEnd } from "./bookmark-end"; import { Comment } from "./comment"; import { CommentEnd } from "./comment-end"; import { Hyperlink } from "./hyperlink"; import { TextAlignmentType } from "./json/bindings/TextAlignmentType"; import { TabValueType } from "./json/bindings/TabValueType"; import { TabLeaderType } from "./json/bindings/TabLeaderType"; import { NumPages } from "./num-pages"; import { PageNum } from "./page-num"; export type ParagraphChild = Run | Insert | Delete | Hyperlink | BookmarkStart | BookmarkEnd | Comment | CommentEnd | NumPages | PageNum; export declare class Paragraph { hasNumberings: boolean; children: ParagraphChild[]; property: ParagraphProperty; addRun(run: Run): this; addHyperlink(link: Hyperlink): this; addInsert(ins: Insert): this; addDelete(del: Delete): this; addBookmarkStart(id: number, name: string): this; addBookmarkEnd(id: number): this; addCommentStart(comment: Comment): this; addCommentEnd(end: CommentEnd): this; addPageNum(): this; addNumPages(): this; tabs(tabs: { val: TabValueType | null; leader: TabLeaderType | null; pos: number | null; }[]): this; align(type: AlignmentType): this; textAlignment(type: TextAlignmentType): this; adjustRightInd(v: number): this; style(id: string): this; indent(left: number, specialIndentKind?: SpecialIndentKind, specialIndentSize?: number, right?: number): this; numbering(id: number, level: number): this; lineSpacing(spacing: LineSpacing): this; characterSpacing(spacing: number): this; snapToGrid(v: boolean): this; keepNext(v: boolean): this; keepLines(v: boolean): this; pageBreakBefore(v: boolean): this; widowControl(v: boolean): this; size(size: number): this; color(color: string): this; bold(): this; italic(): this; fonts(fonts: RunFonts): this; delete(author: string, date: string): this; insert(author: string, date: string): this; outlineLevel(v: number): this; paragraphPropertyChange(propertyChange: ParagraphPropertyChange): this; frameHeight(h: number): this; hRule(r: string): this; hAnchor(a: string): this; hSpace(s: number): this; vAnchor(a: string): this; vSpace(s: number): this; frameWidth(w: number): this; wrap(w: string): this; frameX(x: number): this; xAlign(a: string): this; frameY(y: number): this; yAlign(y: string): this; }