import { StateContext } from '@ngxs/store';
import { UiLocalizationDbActions } from './ui-localization.actions';
import { UiLocalizationService } from './ui-localization.service';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export interface SmzUiLocale {
    code: string;
    name: string;
    country: string;
}
export declare const UI_LOCALIZATION_STATE_NAME = "uiLocalization";
export interface UiLocalizationDbStateModel {
    lastUpdated: Date;
    current: string;
    locales: SmzUiLocale[];
    data: any;
}
export declare const getUiLocalizationInitialState: () => UiLocalizationDbStateModel;
export declare class UiLocalizationDbState {
    private apiService;
    constructor(apiService: UiLocalizationService);
    onLoadAll$(ctx: StateContext<UiLocalizationDbStateModel>, action: UiLocalizationDbActions.LoadAll): Observable<any[]>;
    onSetCurrent$(ctx: StateContext<UiLocalizationDbStateModel>, action: UiLocalizationDbActions.SetCurrent): void;
    onSetLocales$(ctx: StateContext<UiLocalizationDbStateModel>, action: UiLocalizationDbActions.SetLocales): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<UiLocalizationDbState, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<UiLocalizationDbState>;
}
