import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
import { AbstractControl, FormBuilder, FormGroup, ControlValueAccessor, Validator } from '@angular/forms';
import { ChoicesModel } from '../../models/AddressComponentModel';
import { QuestionnaireService } from '../../services/questionnaire/questionnaire.service';
import { PaymentComponentModel } from '../../models/PaymentComponentModel';
import { Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export declare class AddPaymentComponent implements ControlValueAccessor, OnInit, Validator, OnChanges {
    private fb;
    questionnaireService: QuestionnaireService;
    paymentForm: FormGroup;
    payFormElements: FormGroup[];
    showResponse: boolean;
    showError: boolean;
    wageTypes: ChoicesModel[];
    onTouched: Function;
    onChangeSubs: Subscription[];
    value: any;
    onChange: Function;
    potentialIssueId: number;
    constructor(fb: FormBuilder, questionnaireService: QuestionnaireService);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnInit(): void;
    loadMasterData(): void;
    initPaymentForm(): void;
    addPayment(): void;
    removeItem(payIndex: number): void;
    onSubmit(): void;
    registerOnChange(onChange: any): void;
    registerOnTouched(onTouched: Function): void;
    setDisabledState(disabled: boolean): void;
    ngOnDestroy(): void;
    writeValue(formValue: PaymentComponentModel): void;
    setvalue(): void;
    validate(control: AbstractControl): any;
    static ɵfac: i0.ɵɵFactoryDeclaration<AddPaymentComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AddPaymentComponent, "app-add-payment", never, { "potentialIssueId": { "alias": "potentialIssueId"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=add-payment.component.d.ts.map