import { RawProps, Props } from "./props";
import { ComponentGetter, Component } from "./Component";
export declare const _eleMap: Map<Component<any, any, any>, HElement<any>>;
export declare const namespaces: Map<string, string>;
export declare const _nsCtxName = "_xmlns";
export declare function _toEle(element: any): HElement<any> | null | (HElement<any> | null)[];
export declare function _toNode(element: null | HElement | (HElement | null)[]): Node | Node[];
export declare class HElement<P extends RawProps = RawProps> {
    readonly type: string | null | ComponentGetter<P>;
    constructor(type: string | null | ComponentGetter<P>, props: Props & P);
    readonly props: Props & P;
    parent?: HElement<any>;
    node?: Node | Node[];
    context: any;
    toNode(): Node | Node[];
}
