/// export declare function widget(Component: any): (props: any) => JSX.Element;