import type { UserConfig } from '@modern-js/core'; import type React from 'react'; interface CreateAppProps { entry?: string; children?: React.ReactElement; } declare class ModernRuntime { private options; constructor(options: UserConfig<{ userConfig: { runtime?: any; runtimeByEntries?: any; }; }>); init(options: UserConfig<{ userConfig: { runtime?: any; runtimeByEntries?: any; }; }>): void; createApp(props?: CreateAppProps): (props: any) => React.JSX.Element; } declare const _default: ModernRuntime; export default _default;