import type { Constructor } from './di'; import type { Runtime } from './runtime'; import type { RouteObject } from 'react-router-dom'; export interface Feature { name: string; providers?: Constructor[]; routes?: RouteObject[]; onInit?(runtime: Runtime): void | Promise; onDestroy?(runtime: Runtime): void | Promise; } export declare function defineFeature(feature: Feature): Feature;