export default function (api: any): Promise;