UNPKG

671 BTypeScriptView Raw
1import { JwtPayload } from 'jsonwebtoken';
2import { Cache, IsolationStrategy } from '../cache';
3import { Destination } from './destination-service-types';
4export declare const destinationServiceCache: {
5 retrieveDestinationsFromCache: (targetUrl: string, decodedJwt: JwtPayload, isolationStrategy?: IsolationStrategy | undefined) => Destination[] | undefined;
6 cacheRetrievedDestinations: (destinationServiceUri: string, decodedJwt: JwtPayload, destinations: Destination[], isolationStrategy?: IsolationStrategy | undefined) => void;
7 clear: () => void;
8 getCacheInstance: () => Cache<Destination[]>;
9};
10//# sourceMappingURL=destination-service-cache.d.ts.map
\No newline at end of file