import { OnInit } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
import { AbstractAddComponent } from '../../../shared/abstracts/add/abstract-add/abstract-add.component';
import { IGoal, IPatient, ICodeableConcept, IAuditEvent, ICarePlan } from '@ahryman40k/ts-fhir-types/lib/R4';
import { ModalController, AlertController } from '@ionic/angular';
import { TranslatePipe } from '../../../shared/translate/pipes/translate.pipe';
import { Category } from '../../models/category.model';
export declare class GoalAddComponent extends AbstractAddComponent<{
    data: IGoal;
    audit: IAuditEvent;
}[]> implements OnInit {
    private modalController;
    private alertController;
    private translatePipe;
    patient: IPatient;
    isModal: boolean;
    user: any;
    careplan: ICarePlan;
    category: Category;
    careplanCode: ICodeableConcept;
    parameterCodes: ICodeableConcept[];
    units: string[];
    noMax: boolean[];
    percent: boolean[];
    lowerLimit: number[];
    upperLimit: number[];
    allSelect: boolean;
    index: number;
    constructor(modalController: ModalController, alertController: AlertController, translatePipe: TranslatePipe);
    ngOnInit(): void;
    setCategoryValues(): void;
    addAllSelect(): void;
    setFormValue(): void;
    resetForm(): FormGroup;
    close(data?: {
        data: IGoal;
        audit: IAuditEvent;
    }[]): void;
    add(data: IGoal): void;
    selectChange(event: {
        detail: {
            value: ICodeableConcept;
        };
    }): void;
    checkPercentOrLimit(control: FormControl): void;
    openAlert(data?: IGoal): Promise<void>;
    createAuditEvent(data: IGoal): IAuditEvent;
}
