import { ChangeDetectorRef, EventEmitter } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { SdModal } from '@sd-angular/core/components/modal';
import { ISdWorkflowConfiguration } from '../../../../configurations';
import { Attribute } from '../../../../models';
import { SdFormGenericValidation, SdFormGenericValidationFunction } from '../../../../models/form-generic-validation.model';
import { SdFormGeneric } from '../../../../models/form-generic.model';
import * as i0 from "@angular/core";
export declare class ConfigureValidationComponent {
    private ref;
    private workflowConfiguration;
    modal?: SdModal;
    form: FormGroup<{}>;
    attributes: Attribute[];
    validations: SdFormGenericValidation[];
    functions: SdFormGenericValidationFunction[];
    alerts: {
        value: string;
        display: string;
    }[];
    accept: EventEmitter<SdFormGenericValidation[]>;
    constructor(ref: ChangeDetectorRef, workflowConfiguration: ISdWorkflowConfiguration);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    open: (formGeneric: SdFormGeneric) => void;
    addValidation: (type: SdFormGenericValidation["type"]) => void;
    removaValidation: (index: number) => void;
    updateValidations: () => void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureValidationComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ConfigureValidationComponent, "configure-validation", never, {}, { "accept": "accept"; }, never, never, true, never>;
}
