declare const afterNextRepaint: (callback: (resolve: Function) => any) => Promise; export default afterNextRepaint;