import { type Component, type ComponentType, type ForwardRef, type Ref } from 'inferno'; import { type RouteComponentProps } from './Route'; export interface IWithRouterProps { wrappedComponentRef?: Ref | null; } /** * A public higher-order component to access the imperative API */ export declare function withRouter

& IWithRouterProps>(Com: Function | ComponentType

| Component | ForwardRef): any;