export declare const partial: (fn: (...args: [...A, ...B]) => R, ...args: A) => (...rest: B) => R;