import { App } from './helper'; import { Config } from './config'; export interface appContext { createApp: (name: string, app: App) => void; getApp: (name: string) => App; getApps: () => App[]; addI18n: (lng: string, ns: string, resources: any) => void; addI18ns: (files: Record) => void; addListener: (name: string, callback: any) => void; config: Config; } export interface appConfig { init?: (context: appContext) => void; register?: (context: appContext) => void; run?: (context: appContext) => void; } export interface AppContext { config: Config; event: Record; } export declare const useAppContext: () => AppContext; export interface AppProviderProps { appsData: appConfig[]; config: Config; } export declare const AppProvider: ({ appsData, config }: AppProviderProps) => import("react/jsx-runtime").JSX.Element;