import { LodashMethodDecorator } from './factory'; declare const decorator: (...args: any[]) => MethodDecorator & PropertyDecorator; /** * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked. * * @param {...*} [args] Additional arguments to invoke the function with * @example * * class MyClass { * value = 100; * * @Defer() * add(a) { * this.value += a; * } * } * * const myClass = new MyClass(); * * myClass.add(10); * * myClass.value; // => 100; * * setTimeout(() => { * myClass.value; // => 110; * }, 0); */ export declare function Defer(...args: any[]): LodashMethodDecorator; export { Defer as defer }; export default decorator;