/** * Takes a function that returns a promise and ensures that only one instance of the function is running at a time. * @param func the function to wrap */ export declare function onlyOne(func: (...args: U) => Promise): (...args: U) => Promise;