import type { InjectionKey } from 'vue' import type { RouteLocationNormalizedLoaded } from 'vue-router' export interface LayoutMeta { isCurrent: (route: RouteLocationNormalizedLoaded) => boolean } export const LayoutMetaSymbol: InjectionKey = Symbol('layout-meta') export const PageRouteSymbol: InjectionKey = Symbol('route')