import { Container } from './di'; import type { Constructor } from './di'; import type { Feature } from './feature'; import type { Plugin } from './plugin'; export interface RuntimeOptions { plugins?: Plugin[]; features?: Feature[]; providers?: Constructor[]; } export declare class Runtime { readonly container: Container; private plugins; private features; constructor(options?: RuntimeOptions); use(plugin: Plugin): this; registerFeature(feature: Feature): Promise; loadFeature(loader: () => Promise<{ default: Feature; }>): Promise; destroyFeature(name: string): Promise; getFeatures(): Feature[]; getRoutes(): import("react-router").RouteObject[]; }