/// <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) => void | Promise<void>;
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) => void | Promise<void>;
export { cacheRoute, cacheRouteFactory };
//# sourceMappingURL=cache.d.ts.map