import { BaseCellAnchorXform } from "./base-cell-anchor-xform.js"; interface TwoCellModel { range: { editAs?: string; tl: any; br: any; }; picture?: any; shape?: any; /** Graphic frame model (for charts and other embedded objects) */ graphicFrame?: any; /** Wrap the anchor in mc:AlternateContent for modern drawing clients */ alternateContent?: { requires: string; }; } declare class TwoCellAnchorXform extends BaseCellAnchorXform { private _acDepth; private _inFallback; private _fallbackDepth; private _choiceRequires; constructor(); get tag(): string; prepare(model: TwoCellModel, options: { index: number; }): void; render(xmlStream: any, model: TwoCellModel): void; /** * Emit the ChartEx `` block that occupies the * shape slot inside a `` — between `` * and ``. * * Structure mirrors Microsoft Excel's own output: * * * * * * * …placeholder shape… * * * * Both the Choice graphicFrame and the Fallback shape inherit * sizing from the outer ``/`` cell range — they * do NOT each re-declare the anchor; there is only one anchor. */ private renderChartExAlternateContent; /** * Emit the placeholder `` that lives inside the * `` of a ChartEx anchor. Legacy Excel (2010/2013) * and non-Microsoft loaders that don't understand the `cx1` * namespace render this in place of the `cx:chart`. * * Matches Microsoft Excel's convention: cNvPr id=0 / empty name * (a deliberate placeholder, not a real drawing object), a white * rectangle sized to the anchor's cell range, and the localizable * "This chart isn't available" message. The shape's own xfrm * carries concrete EMU values rather than zeros because the * Fallback expansion is meant to be rendered standalone — a * zero-size shape would collapse and Excel 2016+ flags that as * "drawing shape" validation failure even though the outer * twoCellAnchor provides sizing. */ private renderChartExFallbackShape; parseOpen(node: any): boolean; parseText(text: string): void; parseClose(name: string): boolean; reconcile(model: any, options: any): void; } export { TwoCellAnchorXform };