///
import { XlsfoComponent } from './xslfoComponent';
import { XslfoElement, XslfoNode } from './elements';
import { Elements } from './fopTypes';
export declare function createElement
(type: any, props: any, ...children: Array): XslfoElement;
export declare namespace createElement {
namespace JSX {
interface Element extends XslfoElement {
}
interface ElementClass extends XlsfoComponent {
render(): XslfoNode;
}
interface ElementAttributesProperty {
props: {};
}
interface IntrinsicAttributes {
}
interface IntrinsicClassAttributes {
}
interface IntrinsicElements extends Elements {
}
}
}
export declare function renderToString(element: any): any;
export declare function renderToStream(element: XslfoElement, stream: NodeJS.WritableStream): void;
export declare const Children: {
map(children: any, fn: any, thisArg?: any): any;
only(children: any): any;
count(children: any): number;
};
export declare function processElement(element: any): any;
export declare function cloneElement(element: any, props: any, ...children: any[]): any;