import { OnInit } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';
import { TranslateService } from '@ngx-translate/core';
import { LocalizationService } from '@valtimo/config';
import { ArbitraryInputTitles, MultiInputKeyValue, MultiInputOutput, PageHeaderService } from '@valtimo/components';
import * as i0 from "@angular/core";
export declare class TranslationManagementComponent implements OnInit {
    private readonly translateService;
    private readonly localizationService;
    private readonly pageHeaderService;
    private readonly document;
    readonly loading$: BehaviorSubject<boolean>;
    readonly allChangedValuesValid$: BehaviorSubject<boolean>;
    readonly disabled$: BehaviorSubject<boolean>;
    private readonly _languageOptions$;
    private readonly _refreshLocalizations$;
    private readonly _localizationTranslations$;
    private _defaultValues;
    private readonly _changedValues$;
    readonly showConfirmationModal$: BehaviorSubject<boolean>;
    readonly valuesChanged$: Observable<boolean>;
    readonly localizationTranslationValues$: Observable<Array<MultiInputKeyValue>>;
    readonly multiInputTiles$: Observable<ArbitraryInputTitles>;
    readonly amountOfArbitraryValues$: Observable<number>;
    readonly compactMode$: Observable<boolean>;
    constructor(translateService: TranslateService, localizationService: LocalizationService, pageHeaderService: PageHeaderService, document: Document);
    ngOnInit(): void;
    validChange(valid: boolean): void;
    valueChange(value: MultiInputOutput): void;
    saveAndRefresh(): void;
    saveAndStay(): void;
    cancel(): void;
    showModal(): void;
    saveChanges(reload?: boolean): void;
    private setLanguages;
    private disable;
    private enable;
    private hideModal;
    private flattenObject;
    private unflattenObject;
    private getLocalizationsForUpdateRequest;
    private mapMergedLocalizationsToMultiInput;
    static ɵfac: i0.ɵɵFactoryDeclaration<TranslationManagementComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TranslationManagementComponent, "valtimo-translation-management", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=translation-management.component.d.ts.map