export function compile(routes: any): Promise;