import { Component, type InfernoNode, type Props } from 'inferno'; import { type Path } from 'history'; import { type TLoaderData } from './Router'; export interface IStaticRouterProps extends Props { initialData?: Record; basename?: string; context: any; location: any; } export declare class StaticRouter extends Component

, S> { static defaultProps: { basename: string; location: Path | string; }; getChildContext(): { router: { initialData?: Record; staticContext: Record; }; }; createHref: (path: string) => string; handlePush: (location: any) => void; handleReplace: (location: any) => void; handleListen: () => (() => void); handleBlock: () => (() => void); render({ basename, context, location, ...props }: Readonly<{ children: InfernoNode; } & P & IStaticRouterProps>): InfernoNode; }