/opt/canhelp/node_modules/next/dist/client
Edit: /opt/canhelp/node_modules/next/dist/client/with-router.d.ts (505B)
import React from 'react';
import type { BaseContext, NextComponentType, NextPageContext } from '../shared/lib/utils';
import type { NextRouter } from './router';
export type WithRouterProps = {
router: NextRouter;
};
export type ExcludeRouterProps
= Pick
>;
export default function withRouter
(ComposedComponent: NextComponentType): React.ComponentType>;