export default function (callback?: (count: number) => void): Promise;