/** * Initialize the application. * * @param {object} options * @param {boolean} [options.requireLogin] If true, users will be required to * login to use the website * @param {string} options.rootUrl Root URL used by the router. If the current * page's url does not begin with this option's value, the application will * not render automatically. * @param {string|HTMLElement} options.rootElement Where to mount the * application. Can be a selector string or an element. If this option does * not resolve to an element after the DOMContentLoaded event is fired, the * application will not render automatically. * @param {string} [options.retainContainerContent] If true, the content in the container * will be retained when rendering the application. Optional, defaults to false. * @param {string} options.endpoint Base URL for WdkService. * @param {Function} [options.wrapRoutes] A function that takes a WDK Routes array * and returns a modified copy. * @param {Function} [options.wrapStoreModules] A function that takes WDK StoreModules * and returns a modified copy. * @param {Function} [options.wrapWdkDependencies] A function that takes WdkDependencies * and returns a modified copy. * @param {Function} [options.wrapWdkService] A function that takes a WdkService * class and returns a sub class. * @param {Function} [options.onLocationChange] Callback function called whenever * the location of the page changes. The function is called with a Location * object. * @param {ClientPluginRegistryEntry[]} [options.pluginConfig] * @param {ReduxMiddleware[]} [options.additionalMiddleware] */ export function initialize(options: { requireLogin: boolean; rootUrl: string; rootElement: string | HTMLElement; retainContainerContent: string; endpoint: string; wrapRoutes: Function; wrapStoreModules: Function; wrapWdkDependencies: Function; wrapWdkService: Function; onLocationChange: Function; pluginConfig: ClientPluginRegistryEntry[]; additionalMiddleware: any[]; }): { wdkService: any; paramValueStore: import("../Utils/ParamValueStore").ParamValueStore; store: import("redux").Store>; history: import("history").History; pluginConfig: ClientPluginRegistryEntry[]; }; /** * Apply Component wrappers to WDK components and controllers. Keys of * 'componentWrappers' should correspond to Component or Controller names in * WDK. Values of `componentWrappers` are factories that return a new component. * * Note that this function applies wrappers "globally", meaning that all apps * returned by initialize will use the wrapped components, regardless of when * initialize and wrapComponents are called. * * @param {Object} componentWrappers */ export function wrapComponents(componentWrappers: Object): void; import { ClientPluginRegistryEntry } from "../Utils/ClientPlugin"; //# sourceMappingURL=main.d.ts.map