export default function build(cmd: any): Promise;