export default function (route: string, accessPath: string, metaRoute: boolean): Promise;