import { TranslateService } from "@ngx-translate/core";
import { FormField } from "@seniorsistemas/angular-components";
import { Observable } from "rxjs";
import { E044CcuService } from "../../core/entities/e-044-ccu/e-044-ccu.service";
import { EntityLookupConfigService } from "../../shared/services/entity-lookup-config.service";
export declare class CostCenterLookupService {
    private translate;
    private configService;
    private costCenterService;
    private costCenterLookupDisplayFields;
    costCenterLookupSeparator: string;
    private costCenterSearchSubject;
    private costCenterLookupSubject;
    private ngUnsubscribe;
    constructor(translate: TranslateService, configService: EntityLookupConfigService, costCenterService: E044CcuService);
    updateSuggestions(value: any): void;
    getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string): any;
    /**
     * Método utilizado para montar o lookup no dynamicForm.
     * LookupValidationDto
     */
    getFormField(isCollective?: boolean, additionalFilter?: string, companyIds?: string[]): FormField;
    onCostCenterSearchRequest(event: any, additionalFilter: any, companyIds: string[]): void;
    onCostCenterSearchRequestObservable(event: any, additionalFilter: any, companyIds: string[], isDynamicForm?: boolean): Observable<any>;
    private mapToComponent;
    private getLabelForMaping;
    onCostCenterLookupRequest(value: string, additionalFilter: any, companyIds: string[]): void;
    onCostCenterLookupRequestObservable(value: string, additionalFilter: any, companyIds: string[]): Observable<any>;
    getCostCenterSearchFields(): FormField[];
    /**
     * Retorna o filtro padrão que é montado nos métodos {@link onCostCenterLookupRequest} e {@link onCostCenterSearchRequest}.
     * Segue as condições estabelecidas por esse método:
     * - O tipo do centro de custo deve ser igual a 'Analítico'.
     * - Caso a busca seja fora de um escopo coletivo, a empresa do centro de custo deve ser igual a empresa do colaborador.
     * @returns Filtro com as devidas condicionais para buscar corretamente os centros de custo
     */
    private getFiltersDefaultCostCenter;
}
