import React from 'react'; export interface ItemProps { comp: string; props: Object; fullName: string; children: Array; } export interface ComponentFactoryProps { components: Array; metadata: any; children?: React.ReactChild; context?: Object | ((item: ItemProps) => Object); [key: string]: any; } declare const ComponentFactory: React.FC; export default ComponentFactory;