import * as i0 from '@angular/core';
import { OnInit } from '@angular/core';
import { Pagination, DisplayOptions, ActionControl, Column, AlertService, AppStateService, TranslateService } from '@c8y/ngx-components';
import { TranslationStoreService } from '@c8y/ngx-components/translation-editor/data';
import { BsModalService } from 'ngx-bootstrap/modal';
import { EditorComponent } from '@c8y/ngx-components/editor';
import * as Monaco from 'monaco-editor';
import { TranslateService as TranslateService$1 } from '@ngx-translate/core';

declare class TranslationEditorComponent implements OnInit {
    private translationStore;
    private modalService;
    private alert;
    private appState;
    private translate;
    pagination: Pagination;
    displayOptions: DisplayOptions;
    actionControls: ActionControl[];
    columns: Column[];
    isLoading: boolean;
    items: Awaited<ReturnType<TranslationStoreService['getCombinedListOfTranslationsForPerKey']>>;
    isHavingChanges: boolean;
    availableLangs: {
        lang: string;
        nativeLanguage: string;
    }[];
    constructor(translationStore: TranslationStoreService, modalService: BsModalService, alert: AlertService, appState: AppStateService, translate: TranslateService);
    ngOnInit(): Promise<void>;
    refresh(): Promise<void>;
    addEntry(): Promise<void>;
    refreshColumns(): void;
    valueChanged(): void;
    saveTranslations(): Promise<void>;
    private getColumnsForLocales;
    static ɵfac: i0.ɵɵFactoryDeclaration<TranslationEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TranslationEditorComponent, "c8y-translation-editor", never, {}, {}, never, never, true, never>;
}

declare class AdvancedTranslationEditorComponent {
    private appState;
    private translationStore;
    private alert;
    private translation;
    valueString: i0.WritableSignal<string>;
    editorOptions: EditorComponent['editorOptions'];
    isLoading: i0.WritableSignal<boolean>;
    isValidJSON: i0.Signal<boolean>;
    JSONSchema: any;
    editorComponent: EditorComponent;
    availableLangs: string[];
    constructor(appState: AppStateService, translationStore: TranslationStoreService, alert: AlertService, translation: TranslateService$1);
    onValueChange(data: string): void;
    onEditorInit(_data: Monaco.editor.IStandaloneCodeEditor): void;
    refresh(): Promise<void>;
    importTranslationKeys(): Promise<void>;
    saveTranslations(): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTranslationEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedTranslationEditorComponent, "c8y-advanced-translation-editor", never, {}, {}, never, never, true, never>;
}

export { AdvancedTranslationEditorComponent, TranslationEditorComponent };
//# sourceMappingURL=index.d.ts.map
