import { AnyClass } from 'tn-typescript'; import { ExoCacheData, Exodas, ExoGraph } from '../..'; import { ExoTime } from '../../accessories/ExoTime'; import { ExoConnResponse } from '../../ExoConnection/ExoConnResponse/ExoConnResponse'; import { ExoGraphServeProps as EGServeProps } from '../accessories/ExoGraphServe'; type ExWatch = (props: EGServeProps) => any; type Bypass = (props: EGServeProps) => boolean; type ExData = (props: EGServeProps) => ExoCacheExtraData; export declare class ExoGraphCache { enable(duration: ExoTime): this; bypass(fn: Bypass): this; extraWatch(fn: ExWatch): this; extraData(fn: ExData): this; } export declare class EGCacheExec { private exo; private hash; private name; private enabled; private cache; private exdata; constructor(exo: Exodas, graph: ExoGraph, props: EGServeProps); getCache(res: ExoConnResponse): ExoCacheData | undefined; setCache(value: any): any; } export {};