1 | import { AnalyticsConfig } from '@jetshop/core/analytics/AnalyticsProvider';
|
2 | import ApolloClient from 'apollo-client';
|
3 | import React from 'react';
|
4 | import { Cookies } from 'react-cookie';
|
5 | import { StaticRouterProps } from 'react-router';
|
6 | import { BootOptions } from '../components/ConfigProvider';
|
7 | import { AuthHandler } from './AuthHandler';
|
8 | import { ChannelHandler } from '../ChannelHandler/ChannelHandler';
|
9 | import { PreviewHandler } from './PreviewHandler';
|
10 | interface SharedTreeProps {
|
11 | activeBreakpoint: string;
|
12 | cookies: Cookies;
|
13 | helmetContext?: {};
|
14 | releware?: AnalyticsConfig['releware'];
|
15 | client: ApolloClient<any>;
|
16 | config: BootOptions;
|
17 | Router: React.ComponentClass<StaticRouterProps>;
|
18 | routerProps?: StaticRouterProps;
|
19 | children: React.ReactNode;
|
20 | authHandler: AuthHandler;
|
21 | channelHandler: ChannelHandler;
|
22 | previewHandler: PreviewHandler;
|
23 | }
|
24 | declare const SharedTree: ({ activeBreakpoint, cookies, helmetContext, releware, client, config, authHandler, Router, routerProps, children, channelHandler, previewHandler }: SharedTreeProps) => JSX.Element;
|
25 | export default SharedTree;
|