1 |
|
2 |
|
3 |
|
4 | import { type PropType, type ExtractPropTypes, type ComponentPublicInstance } from 'vue';
|
5 | import type { RouteLocationRaw } from 'vue-router';
|
6 | export declare const routeProps: {
|
7 | to: PropType<RouteLocationRaw>;
|
8 | url: StringConstructor;
|
9 | replace: BooleanConstructor;
|
10 | };
|
11 | export type RouteProps = ExtractPropTypes<typeof routeProps>;
|
12 | export declare function route({ to, url, replace, $router: router, }: ComponentPublicInstance<RouteProps>): void;
|
13 | export declare function useRoute(): () => void;
|