declare const withScheduler: (executor: (...args: any[]) => Promise) => (...args: any[]) => Promise; export default withScheduler;