one
Version:
One is a new React Framework that makes Vite serve both native and web.
9 lines • 473 B
TypeScript
import { type State } from '../fork/getPathFromState';
import type { OneRouter } from '../interfaces/router';
import { type UrlObject } from './getNormalizedStatePath';
export declare function getRouteInfo(state: OneRouter.ResultState): UrlObject;
export declare function getRouteInfoFromState(getPathFromState: (state: State, asPath: boolean) => {
path: string;
params: any;
}, state: State, baseUrl?: string): UrlObject;
//# sourceMappingURL=getRouteInfo.d.ts.map