/**
 * 等待一段时间
 * @func
 * @param {number} ms 毫秒
 * @returns Promise
 * @example
 *
 * async function main() {
 *   await sleep(2000)
 *
 *   // 等待2秒后才会打印
 *   console.log('hello')
 * }
 *
 * main()
 */
export declare const sleep: (ms: number) => Promise<unknown>;
