UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

11 lines (10 loc) 521 B
import { RouteLocationNormalized } from 'vue-router'; import { RouteGuard, RouteGuardReturn } from '../types/RouteGuard'; export declare class RouteGuardExecutioner { private static readonly global; static before(to: RouteLocationNormalized, from: RouteLocationNormalized): Promise<Awaited<RouteGuardReturn>>; static after(to: RouteLocationNormalized, from: RouteLocationNormalized): void; static register(guard: RouteGuard): void; private static getRouteGuards; private static isRouteLocation; }