import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
import { ModalController } from '@ionic/angular';
import { CurrentDeviceService, TaskManager, TaskManagerComponent, TaskManagerService } from '@iotize/ionic';
import * as i0 from "@angular/core";
export declare class ChangePasswordComponent {
    protected currentDevice: CurrentDeviceService;
    modalController: ModalController;
    private formBuilder;
    private taskManager;
    changePasswordTaskComponent: TaskManagerComponent;
    confirmPassword: boolean;
    askCurrentPassword: boolean;
    header: boolean;
    userId: number | undefined;
    form: FormGroup;
    promise$?: Promise<void>;
    error?: Error;
    loading: boolean;
    changePasswordTask: TaskManager.TaskContainer;
    get tap(): import("@iotize/tap").Tap;
    get password(): AbstractControl;
    get currentPassword(): AbstractControl;
    constructor(currentDevice: CurrentDeviceService, modalController: ModalController, formBuilder: FormBuilder, taskManager: TaskManagerService);
    submit(): void;
    changePassword(): Promise<void>;
    dismiss(): Promise<void>;
    showError(err: Error): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordComponent, "tap-change-password", never, { "confirmPassword": "confirmPassword"; "askCurrentPassword": "askCurrentPassword"; "header": "header"; "userId": "userId"; }, {}, never, never>;
}
