/* tslint:disable */ /* eslint-disable */ export function createHyperlink(v: string, t: HyperlinkType): Hyperlink; export function createPositionalTab(alignment: PositionalTabAlignmentType, relative_to: PositionalTabRelativeTo, leader: TabLeaderType): PositionalTab; export function createTableCell(): TableCell; export function createTablePosition(): TablePositionProperty; export function createWebExtension(id: string, reference_id: string, version: string, store: string, store_type: string): WebExtension; export function createLineSpacing(): LineSpacing; export function createStyle(style_id: string, style_type: StyleType): Style; export function createDocx(): Docx; export function createRunFonts(): RunFonts; export function createFrameProperty(): FrameProperty; export function createLevelOverride(level: number): LevelOverride; export function createNumbering(id: number, abstract_num_id: number): Numbering; export function createParagraphPropertyChange(): ParagraphPropertyChange; export function createParagraphProperty(): ParagraphProperty; export function createPageMargin(): PageMargin; export function createHeader(): Header; export function createParagraph(): Paragraph; export function createPic(buf: Uint8Array): Pic; export function createAbstractNumbering(id: number): AbstractNumbering; export function createDelete(run: Run): Delete; export function createPageNum(): PageNum; export function createFooter(): Footer; export function readDocx(buf: Uint8Array): string; export function readXML(xml: string): string; export function createRunProperty(): RunProperty; export function createNumPages(): NumPages; export function createPageNumType(start?: number | null, chap_style?: string | null): PageNumType; export function createRun(): Run; export function createTableCellBorder(position: TableCellBorderPosition): TableCellBorder; export function createTableOfContentsItem(): TableOfContentsItem; export function createTableRow(): TableRow; export function createComment(id: number): Comment; export function createInsert(run: Run): Insert; export function createLevel(id: number, start: number, format: string, text: string, jc: string): Level; export function createTable(): Table; export function createTableOfContents(): TableOfContents; export function createTableOfContentsWithInstrText(s: string): TableOfContents; export enum AlignmentType { Both = 0, Center = 1, Distribute = 2, Start = 3, End = 4, Left = 5, Right = 6, Justified = 7, } export enum BorderType { Nil = 0, None = 1, Single = 2, Thick = 3, Double = 4, Dotted = 5, Dashed = 6, DotDash = 7, DotDotDash = 8, Triple = 9, ThinThickSmallGap = 10, ThickThinSmallGap = 11, ThinThickThinSmallGap = 12, ThinThickMediumGap = 13, ThickThinMediumGap = 14, ThinThickThinMediumGap = 15, ThinThickLargeGap = 16, ThickThinLargeGap = 17, ThinThickThinLargeGap = 18, Wave = 19, DoubleWave = 20, DashSmallGap = 21, DashDotStroked = 22, ThreeDEmboss = 23, ThreeDEngrave = 24, Outset = 25, Inset = 26, Apples = 27, ArchedScallops = 28, BabyPacifier = 29, BabyRattle = 30, } export enum BreakType { Page = 0, Column = 1, TextWrapping = 2, Unsupported = 3, } export enum CharacterSpacingValues { DoNotCompress = 0, CompressPunctuation = 1, CompressPunctuationAndJapaneseKana = 2, Unsupported = 3, } export enum DocGridType { Default = 0, Lines = 1, LinesAndChars = 2, SnapToChars = 3, } export enum DrawingPositionType { Anchor = 0, Inline = 1, } export enum FieldCharType { Begin = 0, Separate = 1, End = 2, Unsupported = 3, } export enum FontPitchType { Default = 0, Fixed = 1, Variable = 2, } export enum HeightRule { Auto = 0, AtLeast = 1, Exact = 2, } export enum HyperlinkType { Anchor = 0, External = 1, } export enum LevelSuffixType { Nothing = 0, Space = 1, Tab = 2, } export enum LineSpacingType { Auto = 0, AtLeast = 1, Exact = 2, } export enum PageOrientationType { Landscape = 0, Portrait = 1, } export enum ParagraphBorderPosition { Left = 0, Right = 1, Top = 2, Bottom = 3, Between = 4, Bar = 5, } export enum PicAlign { Left = 0, Right = 1, Center = 2, Bottom = 3, Top = 4, } export enum PositionalTabAlignmentType { Center = 0, Left = 1, Right = 2, } export enum PositionalTabRelativeTo { Indent = 0, Margin = 1, } export enum RelativeFromHType { /** * Specifies that the horizontal positioning shall be * relative to the position of the anchor within its run * content. */ Character = 0, /** * Specifies that the horizontal positioning shall be * relative to the extents of the column which contains its * anchor. */ Column = 1, /** * Specifies that the horizontal positioning shall be * relative to the inside margin of the current page (the * left margin on odd pages, right on even pages). */ InsideMargin = 2, /** * Specifies that the horizontal positioning shall be * relative to the left margin of the page. */ LeftMargin = 3, /** * Specifies that the horizontal positioning shall be * relative to the page margins. */ Margin = 4, /** * Specifies that the horizontal positioning shall be * relative to the outside margin of the current page (the * right margin on odd pages, left on even pages). */ OutsizeMargin = 5, /** * Specifies that the horizontal positioning shall be * relative to the edge of the page. */ Page = 6, /** * Specifies that the horizontal positioning shall be * relative to the right margin of the page. */ RightMargin = 7, } export enum RelativeFromVType { BottomMargin = 0, InsideMargin = 1, Line = 2, Margin = 3, OutsizeMargin = 4, Page = 5, Paragraph = 6, TopMargin = 7, } export enum SectionType { NextPage = 0, NextColumn = 1, Continuous = 2, EvenPage = 3, OddPage = 4, } export enum ShdType { Nil = 0, Clear = 1, Solid = 2, HorzStripe = 3, VertStripe = 4, ReverseDiagStripe = 5, DiagStripe = 6, HorzCross = 7, DiagCross = 8, ThinHorzStripe = 9, ThinVertStripe = 10, ThinReverseDiagStripe = 11, ThinDiagStripe = 12, ThinHorzCross = 13, ThinDiagCross = 14, Pct5 = 15, Pct10 = 16, Pct12 = 17, Pct15 = 18, Pct20 = 19, Pct25 = 20, Pct30 = 21, Pct35 = 22, Pct37 = 23, Pct40 = 24, Pct45 = 25, Pct50 = 26, Pct55 = 27, Pct60 = 28, Pct62 = 29, Pct65 = 30, Pct70 = 31, Pct75 = 32, Pct80 = 33, Pct85 = 34, Pct87 = 35, Pct90 = 36, Pct95 = 37, } export enum SpecialIndentKind { FirstLine = 0, Hanging = 1, } export enum StyleType { Paragraph = 0, Character = 1, Numbering = 2, Table = 3, Unsupported = 4, } export enum TabLeaderType { Dot = 0, Heavy = 1, Hyphen = 2, MiddleDot = 3, None = 4, Underscore = 5, } export enum TabValueType { Bar = 0, Center = 1, Clear = 2, Decimal = 3, End = 4, Right = 5, Num = 6, Start = 7, Left = 8, } export enum TableAlignmentType { Center = 0, Left = 1, Right = 2, } export enum TableBorderPosition { Left = 0, Right = 1, Top = 2, Bottom = 3, InsideH = 4, InsideV = 5, } export enum TableCellBorderPosition { Left = 0, Right = 1, Top = 2, Bottom = 3, InsideH = 4, InsideV = 5, Tl2br = 6, Tr2bl = 7, } export enum TableLayoutType { Fixed = 0, Autofit = 1, } export enum TextAlignmentType { Auto = 0, Baseline = 1, Bottom = 2, Center = 3, Top = 4, } export enum TextDirectionType { Lr = 0, LrV = 1, Rl = 2, RlV = 3, Tb = 4, TbV = 5, TbRlV = 6, TbRl = 7, BtLr = 8, LrTbV = 9, } export enum VAlignType { Top = 0, Center = 1, Bottom = 2, Unsupported = 3, } export enum VMergeType { Continue = 0, Restart = 1, Unsupported = 2, } export enum VertAlignType { Baseline = 0, SuperScript = 1, SubScript = 2, Unsupported = 3, } export enum WidthType { Dxa = 0, Auto = 1, Pct = 2, Nil = 3, Unsupported = 4, } export class AbstractNumbering { private constructor(); free(): void; add_level(level: Level): AbstractNumbering; } export class Comment { private constructor(); free(): void; author(author: string): Comment; date(date: string): Comment; add_paragraph(p: Paragraph): Comment; parent_comment_id(id: number): Comment; id(): number; } export class Delete { private constructor(); free(): void; author(author: string): Delete; date(date: string): Delete; } export class Docx { private constructor(); free(): void; add_paragraph(p: Paragraph): Docx; add_table_of_contents(t: TableOfContents): Docx; add_bookmark_start(id: number, name: string): Docx; add_bookmark_end(id: number): Docx; add_table(t: Table): Docx; add_abstract_numbering(num: AbstractNumbering): Docx; add_numbering(num: Numbering): Docx; created_at(date: string): Docx; updated_at(date: string): Docx; custom_property(name: string, item: string): Docx; doc_id(id: string): Docx; add_doc_var(name: string, val: string): Docx; default_tab_stop(stop: number): Docx; set_adjust_line_height_in_table(): Docx; character_spacing_control(v: CharacterSpacingValues): Docx; header(header: Header): Docx; first_header(header: Header): Docx; even_header(header: Header): Docx; footer(footer: Footer): Docx; first_footer(footer: Footer): Docx; even_footer(footer: Footer): Docx; title_pg(): Docx; page_size(w: number, h: number): Docx; page_orient(o: PageOrientationType): Docx; page_margin(margin: PageMargin): Docx; add_style(s: Style): Docx; default_size(size: number): Docx; default_spacing(spacing: number): Docx; default_fonts(font: RunFonts): Docx; default_line_spacing(spacing: LineSpacing): Docx; taskpanes(): Docx; web_extension(ext: WebExtension): Docx; add_custom_item(id: string, xml: string): Docx; page_num_type(p: PageNumType): Docx; doc_grid(grid_type: DocGridType, line_pitch?: number | null, char_space?: number | null): Docx; build(has_numberings: boolean): Uint8Array; json_with_update_comments(): string; comments_json(): string; } export class Footer { private constructor(); free(): void; add_paragraph(p: Paragraph): Footer; add_table(t: Table): Footer; } export class FrameProperty { private constructor(); free(): void; wrap(wrap: string): FrameProperty; v_anchor(anchor: string): FrameProperty; h_anchor(anchor: string): FrameProperty; h_rule(r: string): FrameProperty; x_align(align: string): FrameProperty; y_align(align: string): FrameProperty; h_space(x: number): FrameProperty; v_space(x: number): FrameProperty; x(x: number): FrameProperty; y(y: number): FrameProperty; width(n: number): FrameProperty; height(n: number): FrameProperty; } export class Header { private constructor(); free(): void; add_paragraph(p: Paragraph): Header; add_table(t: Table): Header; } export class Hyperlink { private constructor(); free(): void; add_run(run: Run): Hyperlink; add_insert(i: Insert): Hyperlink; add_delete(d: Delete): Hyperlink; add_bookmark_start(id: number, name: string): Hyperlink; add_bookmark_end(id: number): Hyperlink; add_comment_start(comment: Comment): Hyperlink; add_comment_end(id: number): Hyperlink; } export class Insert { private constructor(); free(): void; author(author: string): Insert; date(date: string): Insert; } export class Level { private constructor(); free(): void; indent(left: number, special_indent_kind?: SpecialIndentKind | null, special_indent_size?: number | null): Level; suffix(s: LevelSuffixType): Level; size(size: number): Level; color(color: string): Level; highlight(color: string): Level; bold(): Level; disable_bold(): Level; italic(): Level; strike(): Level; disable_strike(): Level; dstrike(): Level; disable_dstrike(): Level; disable_italic(): Level; underline(line_type: string): Level; vanish(): Level; fonts(f: RunFonts): Level; spacing(spacing: number): Level; } export class LevelOverride { private constructor(); free(): void; start(start: number): LevelOverride; level(level: Level): LevelOverride; } export class LineSpacing { private constructor(); free(): void; line_rule(t: LineSpacingType): LineSpacing; before(before: number): LineSpacing; after(after: number): LineSpacing; before_lines(before: number): LineSpacing; after_lines(after: number): LineSpacing; line(line: number): LineSpacing; } export class NumPages { private constructor(); free(): void; } export class Numbering { private constructor(); free(): void; add_override(o: LevelOverride): Numbering; } export class PageMargin { private constructor(); free(): void; top(v: number): PageMargin; left(v: number): PageMargin; bottom(v: number): PageMargin; right(v: number): PageMargin; header(v: number): PageMargin; footer(v: number): PageMargin; gutter(v: number): PageMargin; } export class PageNum { private constructor(); free(): void; } export class PageNumType { private constructor(); free(): void; } export class Paragraph { private constructor(); free(): void; add_run(run: Run): Paragraph; add_hyperlink(link: Hyperlink): Paragraph; add_insert(i: Insert): Paragraph; add_delete(d: Delete): Paragraph; add_bookmark_start(id: number, name: string): Paragraph; add_bookmark_end(id: number): Paragraph; add_comment_start(comment: Comment): Paragraph; add_comment_end(id: number): Paragraph; align(alignment_type: AlignmentType): Paragraph; text_alignment(alignment_type: TextAlignmentType): Paragraph; adjust_right_ind(v: number): Paragraph; outline_lvl(level: number): Paragraph; style(style_id: string): Paragraph; indent(left: number, special_indent_kind?: SpecialIndentKind | null, special_indent_size?: number | null, right?: number | null): Paragraph; numbering(id: number, level: number): Paragraph; size(size: number): Paragraph; color(c: string): Paragraph; bold(): Paragraph; italic(): Paragraph; fonts(f: RunFonts): Paragraph; line_spacing(spacing: LineSpacing): Paragraph; character_spacing(spacing: number): Paragraph; keep_next(v: boolean): Paragraph; snap_to_grid(v: boolean): Paragraph; keep_lines(v: boolean): Paragraph; page_break_before(v: boolean): Paragraph; widow_control(v: boolean): Paragraph; delete(author: string, date: string): Paragraph; insert(author: string, date: string): Paragraph; add_tab(val?: TabValueType | null, leader?: TabLeaderType | null, pos?: number | null): Paragraph; paragraph_property_change(p: ParagraphPropertyChange): Paragraph; add_page_num(p: PageNum): Paragraph; add_num_pages(p: NumPages): Paragraph; wrap(wrap: string): Paragraph; v_anchor(anchor: string): Paragraph; h_anchor(anchor: string): Paragraph; h_rule(r: string): Paragraph; x_align(align: string): Paragraph; y_align(align: string): Paragraph; h_space(x: number): Paragraph; v_space(x: number): Paragraph; frame_x(x: number): Paragraph; frame_y(y: number): Paragraph; frame_width(n: number): Paragraph; frame_height(n: number): Paragraph; paragraph_property(p: ParagraphProperty): Paragraph; } export class ParagraphProperty { private constructor(); free(): void; align(alignment_type: AlignmentType): ParagraphProperty; text_alignment(alignment_type: TextAlignmentType): ParagraphProperty; adjust_right_ind(v: number): ParagraphProperty; outline_lvl(level: number): ParagraphProperty; style(style_id: string): ParagraphProperty; indent(left: number, special_indent_kind?: SpecialIndentKind | null, special_indent_size?: number | null, right?: number | null): ParagraphProperty; numbering(id: number, level: number): ParagraphProperty; line_spacing(spacing: LineSpacing): ParagraphProperty; character_spacing(spacing: number): ParagraphProperty; keep_next(v: boolean): ParagraphProperty; snap_to_grid(v: boolean): ParagraphProperty; keep_lines(v: boolean): ParagraphProperty; page_break_before(v: boolean): ParagraphProperty; widow_control(v: boolean): ParagraphProperty; add_tab(val?: TabValueType | null, leader?: TabLeaderType | null, pos?: number | null): ParagraphProperty; paragraph_property_change(p: ParagraphPropertyChange): ParagraphProperty; frame_property(p: FrameProperty): ParagraphProperty; run_property(p: RunProperty): ParagraphProperty; } export class ParagraphPropertyChange { private constructor(); free(): void; author(author: string): ParagraphPropertyChange; date(date: string): ParagraphPropertyChange; numbering(id: number, level: number): ParagraphPropertyChange; align(alignment_type: AlignmentType): ParagraphPropertyChange; style(style_id: string): ParagraphPropertyChange; indent(left: number, special_indent_kind?: SpecialIndentKind | null, special_indent_size?: number | null): ParagraphPropertyChange; } export class Pic { private constructor(); free(): void; size(w_emu: number, h_emu: number): Pic; rotate(deg: number): Pic; floating(): Pic; offset_x(x: number): Pic; offset_y(y: number): Pic; } export class PositionalTab { private constructor(); free(): void; alignment(alignment: PositionalTabAlignmentType): PositionalTab; relative_to(relative_to: PositionalTabRelativeTo): PositionalTab; leader(leader: TabLeaderType): PositionalTab; } export class Run { private constructor(); free(): void; add_text(text: string): Run; add_image(pic: Pic): Run; add_delete_text(text: string): Run; add_tab(): Run; add_ptab(ptab: PositionalTab): Run; add_break(break_type: BreakType): Run; add_tc(text: string, omits_page_number: boolean, level?: number | null, id?: string | null): Run; style(style: string): Run; size(size: number): Run; color(color: string): Run; highlight(color: string): Run; bold(): Run; italic(): Run; caps(): Run; strike(): Run; dstrike(): Run; underline(line_type: string): Run; vanish(): Run; fonts(f: RunFonts): Run; character_spacing(spacing: number): Run; fit_text(val: number, id?: number | null): Run; vert_align(a: VertAlignType): Run; shading(t: string, color: string, fill: string): Run; text_border(border_type: BorderType, size: number, space: number, color: string): Run; } export class RunFonts { private constructor(); free(): void; ascii(f: string): RunFonts; hi_ansi(f: string): RunFonts; cs(f: string): RunFonts; east_asia(f: string): RunFonts; ascii_theme(f: string): RunFonts; hi_ansi_theme(f: string): RunFonts; cs_theme(f: string): RunFonts; east_asia_theme(f: string): RunFonts; hint(f: string): RunFonts; } export class RunProperty { private constructor(); free(): void; size(size: number): RunProperty; color(c: string): RunProperty; bold(): RunProperty; disable_bold(): RunProperty; italic(): RunProperty; disable_italic(): RunProperty; strike(): RunProperty; disable_strike(): RunProperty; dstrike(): RunProperty; disable_dstrike(): RunProperty; fonts(f: RunFonts): RunProperty; underline(line_type: string): RunProperty; vanish(): RunProperty; spec_vanish(): RunProperty; character_spacing(spacing: number): RunProperty; fit_text(val: number, id?: number | null): RunProperty; vert_align(a: VertAlignType): RunProperty; delete(author: string, date: string): RunProperty; insert(author: string, date: string): RunProperty; style(style_id: string): RunProperty; highlight(color: string): RunProperty; text_border(border_type: BorderType, size: number, space: number, color: string): RunProperty; shading(t: string, color: string, fill: string): RunProperty; } export class Style { private constructor(); free(): void; name(name: string): Style; based_on(base: string): Style; q_format(q_format: boolean): Style; ui_priority(ui_priority: number): Style; semi_hidden(): Style; unhide_when_used(): Style; size(size: number): Style; color(color: string): Style; highlight(color: string): Style; bold(): Style; italic(): Style; strike(): Style; dstrike(): Style; underline(line_type: string): Style; shading(t: string, color: string, fill: string): Style; link(link: string): Style; vanish(): Style; caps(): Style; fonts(f: RunFonts): Style; character_spacing(spacing: number): Style; fit_text(val: number, id?: number | null): Style; vert_align(a: VertAlignType): Style; text_border(border_type: BorderType, size: number, space: number, color: string): Style; align(alignment_type: AlignmentType): Style; text_alignment(alignment_type: TextAlignmentType): Style; adjust_right_ind(v: number): Style; add_tab(val?: TabValueType | null, leader?: TabLeaderType | null, pos?: number | null): Style; indent(left: number, special_indent_kind?: SpecialIndentKind | null, special_indent_size?: number | null): Style; outline_lvl(l: number): Style; numbering(id: number, level: number): Style; line_spacing(spacing: LineSpacing): Style; snap_to_grid(v: boolean): Style; keep_next(v: boolean): Style; keep_lines(v: boolean): Style; page_break_before(v: boolean): Style; widow_control(v: boolean): Style; run_property(p: RunProperty): Style; paragraph_property(p: ParagraphProperty): Style; table_property(p: TableProperty): Style; table_cell_property(p: TableCellProperty): Style; table_indent(v: number): Style; table_align(v: TableAlignmentType): Style; set_cell_margins(top: number, right: number, bottom: number, left: number): Style; cell_margin_top(v: number, t: WidthType): Style; cell_margin_right(v: number, t: WidthType): Style; cell_margin_bottom(v: number, t: WidthType): Style; cell_margin_left(v: number, t: WidthType): Style; layout(t: TableLayoutType): Style; wrap(wrap: string): Style; v_anchor(anchor: string): Style; h_anchor(anchor: string): Style; h_rule(r: string): Style; x_align(align: string): Style; y_align(align: string): Style; h_space(x: number): Style; v_space(x: number): Style; frame_x(x: number): Style; frame_y(y: number): Style; frame_width(n: number): Style; frame_height(n: number): Style; } export class Table { private constructor(); free(): void; add_row(row: TableRow): Table; set_grid(grid: Uint32Array): Table; style(style_id: string): Table; indent(v: number): Table; align(v: TableAlignmentType): Table; width(w: number): Table; layout(t: TableLayoutType): Table; position(p: TablePositionProperty): Table; set_cell_margins(top: number, right: number, bottom: number, left: number): Table; cell_margin_top(v: number, t: WidthType): Table; cell_margin_right(v: number, t: WidthType): Table; cell_margin_bottom(v: number, t: WidthType): Table; cell_margin_left(v: number, t: WidthType): Table; } export class TableCell { private constructor(); free(): void; add_paragraph(p: Paragraph): TableCell; add_table(t: Table): TableCell; add_table_of_contents(t: TableOfContents): TableCell; vertical_merge(t: VMergeType): TableCell; vertical_align(t: VAlignType): TableCell; grid_span(v: number): TableCell; width(v: number): TableCell; shading(t: string, color: string, fill: string): TableCell; text_direction(t: TextDirectionType): TableCell; set_border(border: TableCellBorder): TableCell; clear_border(position: TableCellBorderPosition): TableCell; clear_all_border(): TableCell; margin_top(v: number, t: WidthType): TableCell; margin_right(v: number, t: WidthType): TableCell; margin_bottom(v: number, t: WidthType): TableCell; margin_left(v: number, t: WidthType): TableCell; } export class TableCellBorder { private constructor(); free(): void; size(size: number): TableCellBorder; color(color: string): TableCellBorder; border_type(border_type: BorderType): TableCellBorder; get_size(): number; get_color(): string; get_border_type(): BorderType; } export class TableCellProperty { private constructor(); free(): void; } export class TableOfContents { private constructor(); free(): void; heading_styles_range(start: number, end: number): TableOfContents; tc_field_identifier(f?: string | null): TableOfContents; add_style_with_level(style: string, level: number): TableOfContents; hyperlink(): TableOfContents; alias(a: string): TableOfContents; page_ref_placeholder(a: string): TableOfContents; add_item(t: TableOfContentsItem): TableOfContents; auto(): TableOfContents; dirty(): TableOfContents; without_sdt(): TableOfContents; delete(author: string, date: string): TableOfContents; add_before_paragraph(p: Paragraph): TableOfContents; add_after_paragraph(p: Paragraph): TableOfContents; add_before_table(t: Table): TableOfContents; add_after_table(t: Table): TableOfContents; paragraph_property(p: ParagraphProperty): TableOfContents; } export class TableOfContentsItem { private constructor(); free(): void; text(a: string): TableOfContentsItem; toc_key(a: string): TableOfContentsItem; level(l: number): TableOfContentsItem; page_ref(a: string): TableOfContentsItem; } export class TablePositionProperty { private constructor(); free(): void; left_from_text(v: number): TablePositionProperty; right_from_text(v: number): TablePositionProperty; vertical_anchor(v: string): TablePositionProperty; horizontal_anchor(v: string): TablePositionProperty; position_x_alignment(v: string): TablePositionProperty; position_y_alignment(v: string): TablePositionProperty; position_x(v: number): TablePositionProperty; position_y(v: number): TablePositionProperty; } export class TableProperty { private constructor(); free(): void; } export class TableRow { private constructor(); free(): void; add_cell(cell: TableCell): TableRow; row_height(h: number): TableRow; height_rule(r: HeightRule): TableRow; delete(author: string, date: string): TableRow; insert(author: string, date: string): TableRow; } export class WebExtension { private constructor(); free(): void; property(name: string, value: string): WebExtension; }