|
|
|
@ -3,8 +3,10 @@ import { Widget } from "./widget";
|
|
|
|
|
type configWidgetFn = (type: string, options: Obj) => void |
|
|
|
|
type configObjectFn = (type: string, widget: Widget) => void |
|
|
|
|
|
|
|
|
|
export declare function config(widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]): void |
|
|
|
|
export declare namespace Plugin { |
|
|
|
|
function config(widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]): void |
|
|
|
|
|
|
|
|
|
export declare function configWidget(shortcut: string, widgetFunction: configWidgetFn): void |
|
|
|
|
function configWidget(shortcut: string, widgetFunction: configWidgetFn): void |
|
|
|
|
|
|
|
|
|
export declare function registerObject(shortcut: string, objectFunction: configObjectFn): void |
|
|
|
|
function registerObject(shortcut: string, objectFunction: configObjectFn): void |
|
|
|
|
} |
|
|
|
|