import type { AnyArray, CutFirst, EmptyTuple, TupleSlices } from "../../../types/array"; import type { Func } from "../../../types/concepts"; import type { Placeholder } from "./placeholder"; declare type PlaceHoldedParams

= P extends EmptyTuple ? [] : [P[0] | Placeholder, ...PlaceHoldedParams>]; declare type CurryingCall

>> = ApplyArgs extends EmptyTuple ? R : Currying, R>; declare type ApplyArgs

>> = Args extends EmptyTuple ? P : CutFirst extends TupleSlices>> ? Args[0] extends Exclude ? ApplyArgs, CutFirst> : [Exclude, ...ApplyArgs, CutFirst>] : never; declare type Currying

= >>(...args: Args) => CurryingCall; export declare const currying:

(fn: Func, count?: P["length"] | undefined) => Currying; export {}; //# sourceMappingURL=currying.d.ts.map