import { OnDestroy, EventEmitter } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { IconService } from 'carbon-components-angular';
import { BehaviorSubject, Observable } from 'rxjs';
import { ModalMode } from '@valtimo/shared';
import * as i0 from "@angular/core";
export declare class AutoKeyInputComponent implements ControlValueAccessor, OnDestroy {
    private readonly iconService;
    labelTranslationKey: string;
    placeholderTranslationKey: string;
    private readonly _mode$;
    set mode(value: ModalMode);
    get mode$(): Observable<ModalMode>;
    private readonly _usedKeys$;
    set usedKeys(value: string[]);
    private readonly _sourceText$;
    set sourceText(value: string);
    readonly submitDisabled: EventEmitter<boolean>;
    $disabled: import("@angular/core").WritableSignal<boolean>;
    value: string;
    readonly editingKey$: BehaviorSubject<boolean>;
    private duplicateInitialized;
    readonly idError$: BehaviorSubject<string>;
    private onChange;
    onTouched: () => void;
    private readonly subscription;
    constructor(iconService: IconService);
    ngOnDestroy(): void;
    setDisabledState(disabled: boolean): void;
    writeValue(value: string): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    onInputChange(event: InputEvent & {
        target: HTMLInputElement;
    }): void;
    enableKeyEditing(): void;
    disableKeyEditing(): void;
    private getUniqueKey;
    private updateKey;
    private getUniqueKeyWithNumber;
    static ɵfac: i0.ɵɵFactoryDeclaration<AutoKeyInputComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AutoKeyInputComponent, "valtimo-auto-key-input", never, { "labelTranslationKey": { "alias": "labelTranslationKey"; "required": false; }; "placeholderTranslationKey": { "alias": "placeholderTranslationKey"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "usedKeys": { "alias": "usedKeys"; "required": false; }; "sourceText": { "alias": "sourceText"; "required": false; }; }, { "submitDisabled": "submitDisabled"; }, never, never, true, never>;
}
//# sourceMappingURL=auto-key-input.component.d.ts.map