import type { PluginLoader, AppSpec, SpecStore } from 'mythik'; import type { ReactNativeRevealConfig } from './reveal/types.js'; interface MythikAppProps { appSpec: AppSpec; specStore: SpecStore; onPlugins?: (plugins: PluginLoader) => void; security?: { allowedDomains?: string[]; }; fetcher?: (url: string, options?: RequestInit) => Promise; apiBaseUrl?: string; reveal?: ReactNativeRevealConfig; } /** * MythikApp for React Native. * * Creates the core engine, app engine, and navigation structure from AppSpec. * Renders each screen by loading its spec from the SpecStore and passing it * to MythikRenderer. * * Navigation is driven by the AppEngine — it manages /navigation/currentScreen * in the store. The renderer subscribes to state changes and re-renders when * the screen changes. * * In V1, navigation uses a simple screen-switching model (no React Navigation * container). The AppEngine's navigate/goBack actions update the store, and * the app re-renders the current screen. React Navigation integration with * native tab/drawer navigators is planned for V2. */ export declare function MythikApp({ appSpec, specStore, onPlugins, security, fetcher, apiBaseUrl, reveal }: MythikAppProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=MythikApp.d.ts.map