import type { Drawable, Shape, Picture, Group, Connector, GraphicFrame } from "../model/types.js"; export declare function readShape(sp: any): Shape; export declare function readPicture(pic: any): Picture; export declare function readGroup(grpSp: any): Group; export declare function readConnector(cxnSp: any): Connector; export declare function readGraphicFrame(gf: any): GraphicFrame; /** * Recover XML document order for spTree children. * * fast-xml-parser groups elements by tag name, losing the interleaving order. * OfficeImport uses XML document order for z-ordering. We recover it by scanning * the raw XML with a regex to extract the sequence of child tag names, then * pick from each tag's parsed array in that order. * * If rawXml is not provided, falls back to ID sort (less accurate for non-sequential IDs). */ export declare function readDrawables(spTree: any, rawXml?: string): Drawable[];