import { SSRConfig, UserConfig } from "./types.cjs";
import React from "react";
import hoistNonReactStatics from "hoist-non-react-statics";
import { AppProps } from "next/app";
import { Trans, useTranslation, withTranslation } from "react-i18next";
import { i18n } from "i18next";

//#region src/pagesRouter/appWithTranslation.d.ts
declare let globalI18n: i18n | null;
declare const appWithTranslation: <Props extends AppProps>(WrappedComponent: React.ComponentType<Props>, configOverride?: UserConfig | null) => ((props: Props & {
  pageProps: Props["pageProps"] & SSRConfig;
}) => React.JSX.Element) & hoistNonReactStatics.NonReactStatics<React.ComponentType<Props>, {}>;
//#endregion
export { Trans, appWithTranslation, globalI18n, useTranslation, withTranslation };
//# sourceMappingURL=appWithTranslation.d.cts.map