/// <reference types="qs" />
/// <reference types="express" />
import { APICacheOptions } from './shared';
declare function cacheRoute(duration: string): (req: import("express").Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs>, res: import("express").Response<any>, next: import("express").NextFunction) => any;
declare function cacheRouteFactory(options: APICacheOptions): (strDuration: string) => (req: import("express").Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs>, res: import("express").Response<any>, next: import("express").NextFunction) => any;
export { cacheRoute, cacheRouteFactory };
//# sourceMappingURL=cache.d.ts.map