export type WidgetState = {
    isDirty: boolean;
    validate: () => Promise<{
        isValid: boolean;
        values?: Record<string, any>;
    }>;
};
export type OnSaveParams = {
    widgetsFormData: {
        [key: string]: any;
    };
};
export interface WidgetsFormProps {
}
export declare class WidgetsFormState {
    _widgets: import("mobx").ObservableMap<string, WidgetState>;
    constructor();
    registerWidget(key: string, state: WidgetState): void;
    validate(): Promise<{
        isValid: boolean;
        data: Record<string, any>;
    }>;
    get isDirty(): boolean;
    get(key: string): WidgetState | undefined;
}
//# sourceMappingURL=WidgetsFormState.d.ts.map