import { OnDestroy, OnInit } from '@angular/core';
import { AbstractControl, ControlValueAccessor, UntypedFormBuilder, UntypedFormGroup, NgForm, Validator, ValidatorFn } from '@angular/forms';
import { Subscription } from 'rxjs';
import { BankDetailsModel } from '../../models/BankDetailsModel';
import { DmsService } from '../../services/dms-service/dms.service';
import { UtilService } from '../../services/util/util.service';
import * as i0 from "@angular/core";
export declare class BankDetailsComponent implements OnInit, ControlValueAccessor, OnDestroy, Validator {
    formBuilder: UntypedFormBuilder;
    util: UtilService;
    dms: DmsService;
    bankDetailsFormDirective: NgForm;
    bankDetailsForm: UntypedFormGroup;
    accountTypeOptions: any[];
    bankDetailsModel: BankDetailsModel;
    bankName: string;
    routingNumberValidators: ValidatorFn[];
    constructor(formBuilder: UntypedFormBuilder, util: UtilService, dms: DmsService);
    ngOnInit(): void;
    submit(): void;
    setAccountNumberValidator(): void;
    get nameOnAccount(): AbstractControl<any, any>;
    get accountType(): AbstractControl<any, any>;
    get routingNumber(): AbstractControl<any, any>;
    get accountNumber(): AbstractControl<any, any>;
    get bankNameControl(): AbstractControl<any, any>;
    get reEnterAccountNumber(): AbstractControl<any, any>;
    onTouched: Function;
    onChangeSubs: Subscription[];
    ngOnDestroy(): void;
    registerOnChange(onChange: any): void;
    registerOnTouched(onTouched: Function): void;
    setDisabledState(disabled: boolean): void;
    writeValue(value: any): void;
    validate(control: AbstractControl): any;
    fetchBankName(event: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BankDetailsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BankDetailsComponent, "app-bank-details", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=bank-details.component.d.ts.map