import { OnInit } from '@angular/core';
import { IObservationDefinition, ICodeableConcept, IAuditEvent, IPatient, ICarePlan } from '@ahryman40k/ts-fhir-types/lib/R4';
import { ModalController, AlertController } from '@ionic/angular';
import { FormGroup, FormControl } from '@angular/forms';
import { AbstractAddComponent } from '../../../../../shared/abstracts/add/abstract-add/abstract-add.component';
import { TranslatePipe } from '../../../../../shared/translate/pipes/translate.pipe';
import { Category } from '../../../../models/category.model';
export declare class ObservationDefinitionAddAtomicComponent extends AbstractAddComponent<{
    data: IObservationDefinition;
    audit: IAuditEvent;
}[]> implements OnInit {
    private modalController;
    private alertController;
    private translatePipe;
    isModal: boolean;
    patient: IPatient;
    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: IObservationDefinition;
        audit: IAuditEvent;
    }[]): void;
    add(data: IObservationDefinition): void;
    selectChange(event: {
        detail: {
            value: ICodeableConcept;
        };
    }): void;
    checkPercentOrLimit(control: FormControl): void;
    openAlert(data?: IObservationDefinition): Promise<void>;
    createAuditEvent(data: IObservationDefinition): IAuditEvent;
}
