import * as wasm from "./pkg"; import { Text } from "./text"; import { DeleteText } from "./delete-text"; import { Tab } from "./tab"; import { Break, BreakType } from "./break"; import { BorderType } from "./border"; import { Image } from "./image"; import { PositionalTab } from "./positional-tab"; import { RunFonts, RunProperty, VertAlignType } from "./run-property"; import { Tc } from "./tc"; export type RunChild = Text | DeleteText | Tab | Break | Image | PositionalTab | Tc; export declare class Run { children: RunChild[]; property: RunProperty; addText(text: string): this; addImage(image: Image): this; addDeleteText(text: string): this; addTab(): this; addPositionalTab(ptab: PositionalTab): this; addBreak(type: BreakType): this; addTc(tc: Tc): this; style(style: string): this; size(size: number): this; color(color: string): this; highlight(color: string): this; vertAlign(vertAlign: VertAlignType): this; bold(): this; strike(): this; dstrike(): this; italic(): this; underline(type: string): this; vanish(): this; caps(): this; fonts(fonts: RunFonts): this; spacing(characterSpacing: number): this; fitText(val: number, id?: number): this; delete(author: string, date: string): this; insert(author: string, date: string): this; textBorder(type: BorderType, size: number, space: number, color: string): this; shading(type: string, color: string, fill: string): this; build(): wasm.Run; }