import {Reducer} from '@smart-link/shared/redux'; import {AsyncAction} from '@smart-link/context' import {dialog, dialogActions, dialogSelector} from './dialog'; import {message, messageActions, messageSelector} from './message'; import {components, componentsActions, componentsSelector} from './components'; import {page, pageActions, pageSelector} from './page'; import {SmartLinkCoreContextValue} from "../components/SmartLinkCoreContext"; import {SmartLinkConfigBase} from "@smart-link/context"; interface CombinedState { dialog: typeof dialog; message: typeof message; components: typeof components; page: typeof page; } declare const coreReducer: Reducer; export type SmartLinkComponentsConfig = SmartLinkCoreContextValue & SmartLinkConfigBase; export function initComponents(components: SmartLinkComponentsConfig): AsyncAction; export type SmartLinkPageConfig = { pageLoadingProgress?: 'linear' | 'spin', routeProgressNoPendingShow?: boolean, routeProgressDisabled?: boolean, routeProgressBarColor: 'primary' | 'secondary', routeProgressBgTransparent?: boolean, title?: string } & SmartLinkConfigBase export function initPage(page: SmartLinkPageConfig): AsyncAction; export {coreReducer}; export {dialogActions, dialogSelector}; export {messageActions, messageSelector}; export {componentsActions, componentsSelector}; export {pageActions, pageSelector};