import * as originalRouter from 'next/dist/client/router.js'; import originalRouter__default from 'next/dist/client/router.js'; export * from 'next/dist/client/router.js'; export { default } from 'next/dist/client/router.js'; import { NextRouter } from 'next/router'; import { Mock } from 'storybook/test'; /** * Creates a next/router router API mock. Used internally. * * @ignore * @internal */ declare const createRouter: (overrides: Partial) => NextRouter; declare const getRouter: () => { push: Mock; replace: Mock; reload: Mock; back: Mock; forward: Mock; prefetch: Mock; beforePopState: Mock; events: { on: Mock; off: Mock; emit: Mock; }; } & { route: string; asPath: string; basePath: string; pathname: string; query: {}; isFallback: boolean; isLocaleDomain: boolean; isReady: boolean; isPreview: boolean; }; declare const useRouter: Mock; declare const withRouter: Mock; export { createRouter, getRouter, useRouter, withRouter };