export function buildClient(routes: any): Promise;