import { History, Location } from 'history'; import PropTypes from 'prop-types'; import * as React from 'react'; import { ClientPluginRegistryEntry } from '../Utils/ClientPlugin'; import { Store } from 'redux'; import { RouteEntry } from '../Core/RouteEntry'; import { WdkDependencies } from '../Hooks/WdkDependenciesEffect'; declare type Props = { requireLogin: boolean; rootUrl: string; routes: RouteEntry[]; pluginConfig: ClientPluginRegistryEntry[]; onLocationChange: (location: Location) => void; history: History; store: Store; wdkDependencies: WdkDependencies; staticContent?: string; }; interface State { location: Location; } /** WDK Application Root */ export default class Root extends React.Component { static propTypes: { rootUrl: PropTypes.Requireable; routes: PropTypes.Validator; onLocationChange: PropTypes.Requireable<(...args: any[]) => any>; staticContent: PropTypes.Requireable; }; static defaultProps: { rootUrl: string; onLocationChange: () => void; }; removeHistoryListener: () => void; constructor(props: Props); handleGlobalClick(event: MouseEvent): void; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; } export {}; //# sourceMappingURL=Root.d.ts.map