export declare type AnyFunction = (...args: any[]) => any; export declare type LazyCallbackReturnType = Parameters | []; export interface LazyCallback { (...args: Parameters): void; invoked(): Promise>; } export interface LazyCallbackOptions { maxCalls?: number; maxCallsCallback?(): void; } export declare function createLazyCallback(options?: LazyCallbackOptions): LazyCallback;