import { BaseXmlComponent, IContext } from './base'; import { IXmlableObject } from './xmlable-object'; export type AttributeMap = Record; export type AttributeData = Record; export type AttributePayload = { readonly [P in keyof T]: { readonly key: string; readonly value: T[P]; }; }; export declare abstract class XmlAttributeComponent> extends BaseXmlComponent { private readonly root; protected readonly xmlKeys?: AttributeMap; constructor(root: T); prepForXml(_: IContext): IXmlableObject; } export declare class NextAttributeComponent extends BaseXmlComponent { private readonly root; constructor(root: AttributePayload); prepForXml(_: IContext): IXmlableObject; }