import { HttpClient } from "@angular/common/http";
import { TranslateService } from "@ngx-translate/core";
import { MessageService } from "primeng/api";
import { FormGroup, ValidatorFn } from "@angular/forms";
import { JourneyFlexibilizationData, ModelFieldDto } from "../../core/entities/journey-flexibilization/journey-flexibilization-dto";
import { Observable } from "rxjs";
export declare class JourneyFlexibilizationService {
    protected http: HttpClient;
    protected messageService: MessageService;
    protected translate: TranslateService;
    private readonly domain;
    private readonly service;
    private readonly queriesUrl;
    constructor(http: HttpClient, messageService: MessageService, translate: TranslateService);
    getModelFieldsConfiguration(modelGroupId: string, entityNames?: string[]): Observable<JourneyFlexibilizationData>;
    mergeFieldsConfig(formGroup: FormGroup, fieldsConfigs: {
        fieldName: string;
        config: ModelFieldDto;
        findById?: Function;
        onEdit?: boolean;
    }[]): void;
    private mergeFieldValue;
    clearFieldsConfigs(formGroup: FormGroup, fieldsConfigs: {
        fieldName: string;
        validators?: ValidatorFn[];
    }[]): void;
    private clearFieldConfig;
    isVisible(flexibilizationData: JourneyFlexibilizationData, fieldKey: string): any;
    isRequired(flexibilizationData: JourneyFlexibilizationData, fieldKey: string): any;
    isEditable(flexibilizationData: JourneyFlexibilizationData, fieldKey: string): any;
    jsonPath(value: any, key: string): any;
}
