react-app-renderer
Version:
9 lines (8 loc) • 461 B
TypeScript
/// <reference types="react" />
/// <reference types="rax" />
import type { RuntimeModule } from 'create-app-shared';
import type { RenderOptions } from './types';
export declare function setInitialData(initialData: any): void;
export declare function getInitialData(): any;
export declare function getRenderApp(runtime: RuntimeModule, options: RenderOptions): () => JSX.Element;
export declare function reactAppRenderer(options: RenderOptions): Promise<void>;