import { Constructor } from "src/types"; import { Binary } from "src/utils"; import { XmlNode } from "src/xml"; import { Zip } from "src/zip"; import { RelsFile } from "./relsFile"; export declare class OpenXmlPart { readonly rels: RelsFile; readonly path: string; private root; private readonly openedParts; private readonly zip; constructor(path: string, zip: Zip); xmlRoot(): Promise; getText(): Promise; getContentBinary(outputType?: Constructor): Promise; getPartById(relId: string): Promise; getFirstPartByType(type: string): Promise; getPartsByType(type: string): Promise; save(binaryContent?: Binary): Promise; private openPart; }