import { Node, NodeConfig } from './Node.js'; /** * Configuration for OXML Node extensions (extends NodeConfig). * * @typeParam Options - Type for node options. * @typeParam Storage - Type for node storage. * @typeParam Attrs - Type for node attributes (optional, enables typed addAttributes). */ export interface OxmlNodeConfig = Record, Storage extends Record = Record, Attrs extends Record = Record> extends NodeConfig { /** The OXML element name */ oXmlName: string; /** Child attributes to extract */ childToAttributes?: string[]; } /** * OxmlNode class extends Node with OXML-specific properties. * * @typeParam Options - Type for node options. * @typeParam Storage - Type for node storage. * @typeParam Attrs - Type for node attributes (enables typed attribute access). */ export declare class OxmlNode = Record, Storage extends Record = Record, Attrs extends Record = Record> extends Node { oXmlName: string; constructor(config: OxmlNodeConfig); /** * Factory method to construct a new OxmlNode instance. * @param config - The OXML node configuration. * @returns A new OxmlNode instance. */ static create = Record, S extends Record = Record, A extends Record = Record>(config: OxmlNodeConfig): OxmlNode; } //# sourceMappingURL=OxmlNode.d.ts.map