/// <reference types="react" />
import { WidgetConfig, WidgetSpec } from 'vitis-lowcode-types';
export default class Widget implements WidgetSpec {
    readonly name: string;
    readonly config: WidgetConfig;
    visible: boolean;
    constructor(name: string, config: WidgetConfig);
    get content(): import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>;
    hide(): void;
    show(): void;
    toggle(): void;
}
