import { ReactNode } from 'react'; import { DefaultTheme } from 'styled-components'; import { ApolloLink, InMemoryCache, DocumentNode } from '@apollo/client'; export declare const GlobalStyle: import("react").NamedExoticComponent; export declare function stripTypenames>(obj: T): T; type ApolloConfig = { link: ApolloLink; cache: InMemoryCache; }; export type MakeApolloConfigFn = (config: ApolloConfig) => ApolloConfig; export declare function makeTheme(providedTheme: DefaultTheme): { token: Record; }; type RootProps = { currentUserQuery?: DocumentNode; makeApolloConfig?: MakeApolloConfigFn; routes: ReactNode; theme: DefaultTheme; onLogout?: () => void; }; declare const Root: ({ currentUserQuery, onLogout, makeApolloConfig, routes, theme, }: RootProps) => ReactNode; export default Root;