import type { StartOptions } from "./types";
import { storage } from '../library';
import { StateManager } from '../state';
/**
 * 启动框架
 *
 * @param options - 启动配置选项
 * @returns Promise<void>
 *
 * @example
 * ```typescript
 * import { start } from '@vlian/framework';
 *
 * start({
 *   loggerLevel: LogLevel.DEBUG,
 *   lifecycle: {
 *     beforeInitialization: async () => {
 *       console.log('初始化前执行');
 *     },
 *   },
 * });
 * ```
 */
/**
 * 启动框架（向后兼容的API）
 *
 * @param options - 启动配置选项
 * @returns Promise<void>
 *
 * @deprecated 建议使用 startApp 函数，支持多实例
 */
declare const start: (options?: StartOptions) => Promise<void>;
export { startApp } from './startup/startApp';
export { getAppInstanceManager } from './startup/AppInstance';
export type { AppInstance } from './startup/AppInstance';
export { start, storage, };
export declare const getStateManager: () => StateManager | null;
export { AppContextProvider, useAppContext, useTheme, useLocale, useConfig, useStateManager, } from './app';
export { ErrorBoundary, withErrorBoundary, useErrorHandler } from './error';
export type { ErrorBoundaryProps } from './error';
export { appConfig } from './config/AppConfig';
export type { InitializationContext, ConfigStrategy, InitializationOptions, ProgressCallback, } from './initialization';
export { MiddlewareManager, middlewareManager } from './middleware';
export type { Middleware } from './middleware';
export { PluginManager, pluginManager } from './plugin';
export type { Plugin } from './plugin';
export type { AppContextValue, ThemeContextValue, LocaleContextValue, ConfigContextValue, StateManagerContextValue, ThemeConfig, AppConfig, AppContextProviderProps, } from './app';
export type { StartOptions, ManagerLifecycle, SplashScreenCustomProps } from './types';
export * from './startup';
export * from './config';
export * from './router';
export * from './event';
export { DevTools, DevToolsTrigger } from './dev/DevTools';
//# sourceMappingURL=index.d.ts.map