export declare function cacheFn( fn: (x: X) => Y, thisArg?: any ): (x: X) => Y; export default cacheFn;