import { OnInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { Subscription } from 'rxjs';
import { DependentModel } from '../../models/dependent.model';
import { QuestionnaireQueryModel } from '../../models/questionnaire/QuestionnaireQueryModel';
import { ValidationService } from '../../services/questionnaire/validation.service';
import * as i0 from "@angular/core";
export declare class DependentGridComponent implements OnInit, ControlValueAccessor {
    vs: ValidationService;
    selectedDependent: DependentModel;
    indexToEdit: any;
    dependents: DependentModel[];
    showAddDependentPopup: boolean;
    showDuplicatePopup: boolean;
    qeQueryModels: QuestionnaireQueryModel[];
    constructor(vs: ValidationService);
    private onChange;
    private onTouch;
    onChangeSubs: Subscription[];
    ngOnDestroy(): void;
    writeValue(deps: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    ngOnInit(): void;
    addDependent(event: Map<number, any>): void;
    publishDependents(): void;
    editDependent(dependent: DependentModel): void;
    editDuplicateDependent(): void;
    deleteDependent(dependent: DependentModel): void;
    close(): void;
    checkForDuplicate(dependent: DependentModel): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<DependentGridComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DependentGridComponent, "app-dependent-grid", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=dependent-grid.component.d.ts.map