/** * Executes the given function on next animation frame. * * @param {Function} fn Function to invoke * * @returns {Function} Returns a disposer for the timer. * @category Timers */ export default function defer(fn: Function): Function;