import { OnDestroy } from '@angular/core';
import { Subject } from 'rxjs';
import { TransactionBusinessObjectCacheManagerService } from './transaction-business-object-cache-manager.service';
import { ParameterCacheField } from '../parameter-cache-field';
export declare class TransactionSelectSingleParameterizedCacheService implements OnDestroy {
    private _boCacheManager;
    readonly reset: Subject<void>;
    private _subs;
    constructor(_boCacheManager: TransactionBusinessObjectCacheManagerService);
    ngOnDestroy(): void;
    /**
     * Returns the global cache item for the parameterized select single of the given business object class. Creates a new cache item if not yet exists.
     * @param clazz The BO class, used for undeflying dataService.selectSingle(clazz) call.
     * @returns {CacheField<T>}
     */
    requestCache<T>(clazz: any, loadFunction: (param: any) => Promise<T>): ParameterCacheField<T>;
    private _createParameterizedCacheItem;
}
