import { Nullable } from '@breadstone/ziegel-core'; import { IHttpResponseMessage } from '../../Interfaces/IHttpResponseMessage'; import { IHttpCacheGuard } from './IHttpCacheGuard'; /** * @public */ export interface IHttpCache { queue: Map; guard: IHttpCacheGuard; validate(key: string): boolean; get(key: string): Nullable; has(key: string): boolean; set(key: string, body: IHttpResponseMessage, ttl?: number): void; delete(key: string): void; isCacheable(canActivate: boolean, cache: any): boolean; } //# sourceMappingURL=IHttpCache.d.ts.map