import type { XmlNode } from '../xml/tree'; export type OleDvAspect = 'DVASPECT_CONTENT' | 'DVASPECT_ICON'; export type OleUpdateMode = 'OLEUPDATE_ALWAYS' | 'OLEUPDATE_ONCALL'; export interface OleObject { /** Unique shape id assigned by Excel โ€” required. */ shapeId: number; /** rels link to the embedded OLE blob. */ rId?: string; progId?: string; dvAspect?: OleDvAspect; link?: string; oleUpdate?: OleUpdateMode; autoLoad?: boolean; /** * Optional `` child preserved verbatim. Modeling its * `` schema in detail is deferred โ€” this preserves the * round-trip without re-deriving the anchor attrs. */ objectPr?: XmlNode; } export interface FormControl { shapeId: number; rId?: string; /** ECMA-376 ยง18.3.1.27 โ€” name shown in the form-control name box. */ name?: string; /** * Optional `` child preserved verbatim (similar to * `objectPr` for OLE objects). */ controlPr?: XmlNode; } export declare const makeOleObject: (opts: Partial & { shapeId: number; }) => OleObject; export declare const makeFormControl: (opts: Partial & { shapeId: number; }) => FormControl;