import type { ReactElement, ReactNode } from 'react'; import type { NextPage } from 'next'; import { AppProps } from 'next/app'; import type { AxiosRequestConfig } from 'axios'; import type { LayoutType } from '~/design-system/index'; declare global { interface Window { dataLayer: Record[]; } type NextPageWithLayout = NextPage & { layoutType?: LayoutType; }; type AppPropsWithLayout = AppProps & { Component: NextPageWithLayout; }; type SetState = React.Dispatch>; }