import { jsx as _jsx } from "react/jsx-runtime";
import { QueryClient, QueryClientProvider } from 'react-query';
import { ThemeProvider } from 'styled-components';
import { coreUIAvailableThemes } from './style/theme';
export const getWrapper = () => {
    const queryClient = new QueryClient();
    const Wrapper = ({ children }) => {
        return (_jsx(ThemeProvider, { theme: coreUIAvailableThemes.darkRebrand, children: _jsx(QueryClientProvider, { client: queryClient, children: children }) }));
    };
    return { Wrapper: Wrapper, queryClient: queryClient };
};
