interface Props { name: string; key: (...args: A) => string; fn: (...args: A) => R; condition?: (...args: A) => boolean; } declare function cache(_props: Props): void; export { cache };