declare function handleCurry(args: any[], fn: Function, valueIndex: number): any; export default handleCurry;