// AUTO-GENERATED: do not modify this file directly.
// If you need to make changes, modify generate-fp.ts (if necessary), then open a terminal in types/lodash/scripts, and do:
// npm run fp

interface After {
    /**
     * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
     *
     * @param n The number of calls before func is invoked.
     * @param func The function to restrict.
     * @return Returns the new restricted function.
     */
    (): After;
    /**
     * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
     *
     * @param n The number of calls before func is invoked.
     * @param func The function to restrict.
     * @return Returns the new restricted function.
     */
    <TFunc extends (...args: any[]) => any>(func: TFunc): After1x1<TFunc>;
    /**
     * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
     *
     * @param n The number of calls before func is invoked.
     * @param func The function to restrict.
     * @return Returns the new restricted function.
     */
    <TFunc extends (...args: any[]) => any>(func: TFunc, n: number): TFunc;
}
interface After1x1<TFunc extends (...args: any[]) => any> {
    /**
     * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
     *
     * @param n The number of calls before func is invoked.
     * @param func The function to restrict.
     * @return Returns the new restricted function.
     */
    (): After1x1<TFunc>;
    /**
     * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
     *
     * @param n The number of calls before func is invoked.
     * @param func The function to restrict.
     * @return Returns the new restricted function.
     */
    (n: number): TFunc;
}

declare const after: After;
export = after;
