export function validateRoute(id: string, method: any, path: string): object;