import { ExtractRouteParams as ExtractRouteParamsFromPath } from 'react-router'; export interface IQAppRouteDefOptions { path: `${TPath}`; } export declare type IQAppRouteParams = Record | void; export interface IQAppRouteDef { path: `${TPath}`; } export declare type ExtractRouteParams = TRouteDef extends IQAppRouteDef ? TParams : never; export declare function defineRoute(options: IQAppRouteDefOptions): IQAppRouteDef>; export declare function generatePath>(routeDef: TRouteDef, params: ExtractRouteParams): string;