import { StateContext } from '@ngxs/store';
import { UiDefinitionsDbActions } from './ui-definitions.actions';
import { UiDefinitionsService } from './ui-definitions.service';
import { Observable } from 'rxjs';
import { FormDefinitionData } from '../../../builders/smz-dialogs/dialog-input-conversion';
import * as i0 from "@angular/core";
export declare const UI_DEFINITIONS_STATE_NAME = "uiDefinitions";
export interface UiDefinitionsDbStateModel {
    lastUpdated: Date;
    data: {
        [key: string]: FormDefinitionData;
    };
}
export declare const getUiDefinitionsInitialState: () => UiDefinitionsDbStateModel;
export declare class UiDefinitionsDbState {
    private apiService;
    constructor(apiService: UiDefinitionsService);
    loadAll(ctx: StateContext<UiDefinitionsDbStateModel>, action: UiDefinitionsDbActions.LoadAll): Observable<any[]>;
    inject(ctx: StateContext<UiDefinitionsDbStateModel>, action: UiDefinitionsDbActions.Inject): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<UiDefinitionsDbState, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<UiDefinitionsDbState>;
}
