import { RenderWidget } from '@oinone/kunlun-vue-widget';
import { CustomWidgetProps } from './typing';
export declare type CreateCustomWidgetFunction<T extends CustomWidgetProps = CustomWidgetProps> = (props: T) => RenderWidget | undefined;
export declare function createCustomWidget(widget: string, props: CustomWidgetProps): RenderWidget | undefined;
export declare function registerCustomWidgetFunction<T extends CustomWidgetProps = CustomWidgetProps>(widget: string, fn: CreateCustomWidgetFunction<T>): void;
