import type { Cast, Drop, Length } from "../../type/types"; type Curry

= (...args: Cast>) => { 0: Curry, P>, any[]>, R>; 1: R; }[Drop, P> extends [any, ...any] ? 0 : 1]; export declare const curry:

(fn: (...args: P) => R) => Curry; export {};