import moment from 'moment';
import { ServerConfigService } from './../server-config/server-config.service';
import { CachedResultRepository } from './cached-result.repository';
export declare class CachedResultService {
    private cachedResultRepository;
    private serverConfigService;
    constructor(cachedResultRepository: CachedResultRepository, serverConfigService: ServerConfigService);
    private getHash;
    getResult<T>(type: string, args: object, defaultResult: () => Promise<T>, validity?: moment.Duration): Promise<T>;
}
