import { ReactElement } from "react"; import { Middleware, ReducersMapObject, StoreEnhancer, Store } from "redux"; import { ModuleGetter } from "./global"; import { RouterParser } from "./store"; export interface StoreOptions { reducers?: ReducersMapObject; middlewares?: Middleware[]; enhancers?: StoreEnhancer[]; routerParser?: RouterParser; initData?: any; } export declare function buildApp>(moduleGetter: M, appName: A, storeOptions?: StoreOptions, container?: string | Element | ((component: ReactElement) => void), ssrInitStoreKey?: string): Store; export declare function renderApp>(moduleGetter: M, appName: A, initialEntries: string[], storeOptions?: StoreOptions, ssrInitStoreKey?: string, renderToStream?: boolean): Promise<{ html: string | NodeJS.ReadableStream; data: any; ssrInitStoreKey: string; }>;