import { XmlStream } from "../../utils/xml-stream.js";
interface ParseEvent {
    eventType: string;
    value: any;
}
declare class BaseXform {
    map?: {
        [key: string]: any;
    };
    model?: any;
    prepare(_model?: any, _options?: any): void;
    render(_xmlStream?: XmlStream, _model?: any): void;
    parseOpen(_node: any): void;
    parseText(_text: string): void;
    parseClose(_name: string): boolean;
    reconcile(_model: any, _options?: any): void;
    reset(): void;
    mergeModel(obj: any): void;
    parse(saxParser: AsyncIterable<ParseEvent[]>): Promise<any>;
    parseStream(stream: any): Promise<any>;
    get xml(): string;
    toXml(model: any): string;
    static toAttribute(value: any, dflt?: any, always?: boolean): string | undefined;
    static toStringAttribute(value: any, dflt?: any, always?: boolean): string | undefined;
    static toStringValue(attr: any, dflt?: any): any;
    static toBoolAttribute(value: any, dflt?: any, always?: boolean): string | undefined;
    static toBoolValue(attr: any, dflt?: any): boolean;
    static toIntAttribute(value: any, dflt?: any, always?: boolean): string | undefined;
    static toIntValue(attr: any, dflt?: any): number;
    static toFloatAttribute(value: any, dflt?: any, always?: boolean): string | undefined;
    static toFloatValue(attr: any, dflt?: any): number;
}
export { BaseXform };
