import { TRouteState, TRouteName, TQuery } from './index'; export default function Redirect({ routeName, state, toQuery, withPrefix, }: { routeName: TRouteName; state: TRouteState; toQuery: TQuery; withPrefix?: string; }): null;