/**
 * promise 延迟函数
 * @example
 * const fn = async () => {
 *   await delay(10000)
 *   console.log('hello')
 * }
 */
declare const delay: (
/**
 * 延迟多少毫秒
 * @default 300
 */
time?: number) => Promise<unknown>;
export default delay;
