import { SubAppContainer, SubAppOptions, SubAppDef } from "../subapp/index"; import { ClientRenderPipeline } from "./client-render-pipeline"; import { xarcV2 } from "./xarcv2"; export * from "../subapp/index"; export { xarcV2 }; export { ClientRenderPipeline }; /** * Get the subapp container * * @returns subapp container */ export declare function getContainer(): SubAppContainer; /** * Setup event hooks * */ export declare function _setupEnvHooks(): void; /** * Declare a subapp. * * **NOTE**: A webpack plugin will statically analyze the code to extract the subapp info * so options must be a literal object in place. It cannot be a variable declared elsewhere. * * GOOD: * * ```js * export const subapp1 = declareSubApp({ * name: "Subapp1", * getModule: () => import("subapp1") * }) * ``` * * BAD: * * ```js * const subappInfo = { name: "Subapp1", getModule: () => import("subapp1")}; * export const subapp1 = declareSubApp(subappInfo); * ``` * * @param options - options * @returns subapp definition * */ export declare function declareSubApp(options: SubAppOptions): SubAppDef; export declare const IS_BROWSER = true;