import { ReactNode } from 'react';
import { DefaultTheme } from 'styled-components';
import { DocumentNode } from '@apollo/client';
import type { AppProps } from 'antd';
import { type MakeApolloConfigFn } from '../helpers/makeApolloClient';
type RootProps = {
    currentUserQuery?: DocumentNode;
    makeApolloConfig?: MakeApolloConfigFn;
    routes: ReactNode;
    theme: DefaultTheme;
    onLogout?: () => void;
    notification?: AppProps['notification'];
};
declare const Root: ({ currentUserQuery, onLogout, makeApolloConfig, routes, theme, notification, }: RootProps) => ReactNode;
export default Root;
