export type Augmented = Fn & { target: Fn; "0": any; "1": any; "2": any; }; export declare function isAugmented(fn: Fn): fn is Augmented; /** * Augment a function with a target and up to two arguments. * Calling this mutates the function to augment, so the function argument must be defined when calling augment() only! * In other words, you should do: `augment((x: number) => x + 1)` and not: `augment(previouslyDefinedFunction)`. */ export default function augment(augmented: A, target: Target, arg0?: any, arg1?: any, arg2?: any): Augmented;