import { BaseXform } from "../base-xform.js"; interface DrawingModel { anchors: any[]; } declare class DrawingXform extends BaseXform { map: { [key: string]: any; }; parser: any; private _inAlternateContent; private _acDepth; private _inChoice; private _inFallback; private _fallbackDepth; private _choiceRequires; /** Number of anchors before entering mc:AlternateContent — used to tag new anchors */ private _anchorCountBeforeAC; constructor(); prepare(model: DrawingModel): void; get tag(): string; render(xmlStream: any, model?: DrawingModel): void; parseOpen(node: any): boolean; parseText(text: string): void; parseClose(name: string): boolean; reconcile(model: DrawingModel, options: any): void; static DRAWING_ATTRIBUTES: { "xmlns:xdr": string; "xmlns:a": string; }; /** * Extended namespace set used when the drawing contains anchors * wrapped in `` — the ChartEx case. Excel's * strict loader requires the `mc`, `r`, `c`, and `cx` prefixes at * the root of `` before it will parse `` / * `` descendants. Declaring them only inside the inner * `` element (as earlier versions did) made * Excel reject the drawing and report "Removed Part: * /xl/drawings/drawingN.xml (Drawing shape)". * * Mirrors what Excel itself emits when it writes a drawing that * hosts a ChartEx chart — see `__tests__/data/workbook-roundtrip- * chartex.xlsx` (fixtures authored by Excel 2016+). */ static DRAWING_ATTRIBUTES_WITH_MC: { "xmlns:xdr": string; "xmlns:a": string; "xmlns:r": string; "xmlns:c": string; "xmlns:mc": string; "xmlns:cx": string; }; } export { DrawingXform };