import type { Component } from 'vue'; import { Action, Location, History } from 'history'; export interface RouterMatch { isExact: boolean; params: Params; path: string; url: string; } export interface MatchPathOptions { path?: MatchPathOptionsPath; exact?: boolean; strict?: boolean; sensitive?: boolean; } export declare type MatchPathOptionsPath = string | string[]; export declare type RouterParams = Record; export interface RouteObject { caseSensitive?: boolean; children?: RouteObject[]; element: Component; path: string; } export interface PartialRouteObject { caseSensitive?: boolean; children?: PartialRouteObject[]; element: Component; path: string; } export interface RouteContextObject

{ outlet: Component; params: P; pathname: string; route: RouteObject | null; } export declare type Navigator = Omit; export interface LocationContextObject { action: Action; location: Location; navigator: Navigator; static: boolean; } export declare type PathPattern = string | { path: string; caseSensitive?: boolean; end?: boolean; }; export interface PathMatch

{ path: string; pathname: string; params: P; }