import { CreateRouteOptions, PropsGetter, CreateRouteProps, ToRouteMatches, ToRouteUrl, RouterViewPropsGetter } from '../types/createRouteOptions'; import { RouteWithMethods } from '../types/routeWithMethods'; type CreateRouteWithProps> = CreateRouteProps extends RouterViewPropsGetter ? [props?: RouterViewPropsGetter] : CreateRouteProps extends PropsGetter ? Partial>> extends ReturnType> ? [props?: TProps] : [props: TProps] : Partial> extends CreateRouteProps ? [props?: TProps] : [props: TProps]; export declare function createRoute>(options: TOptions, ...args: CreateRouteWithProps): RouteWithMethods, ToRouteMatches>; export {};