import { ReactApplicationConfig } from "./react-application-config"; import { ReactElement } from "react"; import { ReactReduxService } from "./redux/react-redux.service"; import { IReactRoute } from "./interfaces/react-route.interface"; import { ComponentWrapper, ApplicationContext, EntryType, IApplicationContext, TComponent } from "@symph/core"; import { IReactApplication } from "./interfaces"; import { TReactAppComponent } from "./react-app-component"; import { MountModule } from "./mount/mount-module"; import { MountService } from "./mount/mount.service"; import { ReactApplicationConfiguration } from "./react-application.configuration"; import { ReactRouterService } from "./router/react-router-service"; import { AnyAction } from "./redux"; declare type ReactAPPEntryType = EntryType | TComponent | MountModule | (EntryType | MountModule | TComponent)[]; /** * @publicApi */ export declare class ReactApplicationContext extends ApplicationContext implements IReactApplication { protected reactApplicationConfiguration: typeof ReactApplicationConfiguration; protected initState: Record; readonly parent?: IApplicationContext | undefined; private readonly logger; protected reduxStore: ReactReduxService; protected routes: IReactRoute[]; mountService: MountService; reactRouterService: ReactRouterService; reactApplicationConfig: ReactApplicationConfig; constructor(reactApplicationConfiguration: typeof ReactApplicationConfiguration, initState?: Record, parent?: IApplicationContext | undefined); protected initContext(): Promise; init(): Promise; registerModule(module: ReactAPPEntryType): ComponentWrapper[]; protected registerModuleRouter(mount: string, md: EntryType | TComponent | MountModule, compWrappers: ComponentWrapper[]): IReactRoute[] | undefined; registerMiddleware(): Promise; setGlobalPrefix(prefix: string): this; dispatch(action: any): Promise | null | undefined; dispatchBatch(actions: AnyAction[]): Promise | null | undefined; getState(): unknown; start(rootComponent?: TReactAppComponent): ReactElement; } export {};