/** * Wraps a function and ensures that successive calls to the returned function * are executed in order (i.e. only when the previous call has finished). * * @param method The function to wrap. * @returns The wrapped function. */ export declare function ensureCallOrder(method: T): T;