import { HttpClient } from '@angular/common/http';
import { OnDestroy } from '@angular/core';
import { BaseApiService, ConfigService } from '@valtimo/config';
import { Observable } from 'rxjs';
import { ValuePathItem, ValuePathSelectorPrefix, ValuePathType, ValuePathVersionArgument } from '../models';
import { DocumentDefinitions } 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 _documentDefinitionName;
    private _version;
    private _cache;
    private _documentDefinitionCache$;
    private readonly _subscriptions;
    constructor(httpClient: HttpClient, configService: ConfigService);
    ngOnDestroy(): void;
    setDocumentDefinitionCache(cache: DocumentDefinitions): void;
    getDocumentDefinitionCache(): Observable<DocumentDefinitions | null>;
    getResolvableKeys(prefixes: ValuePathSelectorPrefix[], documentDefinitionName: string, type?: ValuePathType, version?: ValuePathVersionArgument): Observable<ValuePathItem[]>;
    private openClearCacheSubscription;
    private getCacheResult;
    private mapCollectionItem;
    private cacheMapping;
    static ɵfac: i0.ɵɵFactoryDeclaration<ValuePathSelectorService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ValuePathSelectorService>;
}
//# sourceMappingURL=value-path-selector.service.d.ts.map