import type { Prefetch } from "./prefetch"; declare const pathToSegments: (path: string) => { text: string; isDynamic: boolean; isCatchAll: boolean; }[]; export interface Params { [param: string]: string | string[]; } export interface RouteInfo { segments: ReturnType; params: Params; } export declare type StaticPath

= string | { params: P; meta?: any; }; export interface StaticPropsContext

{ path: string; params: P; prefetch?: Prefetch; } export interface StaticPathsContext { prefetch?: Prefetch; } export declare function getPathFromParams(fileName: string, params: Params): string; export declare function generateStaticPropsContext(fileName: string, pathOrParams: string | { params: Params; }): StaticPropsContext; export {};