import { HttpClient } from '@angular/common/http';
import { OnDestroy } from '@angular/core';
import { BaseApiService, ConfigService } from '@valtimo/shared';
import { Observable } from 'rxjs';
import { ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '../models';
import { CaseDefinition } from '@valtimo/document';
import * as i0 from "@angular/core";
export declare class ValuePathSelectorService extends BaseApiService implements OnDestroy {
    protected readonly httpClient: HttpClient;
    protected readonly configService: ConfigService;
    private _prefixes;
    private _caseDefinitionKey;
    private _caseDefinitionVersionTag;
    private _cache;
    private _caseDefinitionCache$;
    private readonly _subscriptions;
    constructor(httpClient: HttpClient, configService: ConfigService);
    ngOnDestroy(): void;
    setCaseDefinitionCache(cache: CaseDefinition[]): void;
    getCaseDefinitionCache(): Observable<CaseDefinition[] | null>;
    getResolvableKeys(prefixes: ValuePathSelectorPrefix[], caseDefinitionKey: string, type?: ValuePathType, caseDefinitionVersionTag?: string): Observable<ValuePathItem[]>;
    private openClearCacheSubscription;
    private getCacheResult;
    private mapCollectionItem;
    private cacheMapping;
    private getPrefixesFromResults;
    static ɵfac: i0.ɵɵFactoryDeclaration<ValuePathSelectorService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ValuePathSelectorService>;
}
//# sourceMappingURL=value-path-selector.service.d.ts.map