export default function (config?: any): Promise;