/** * @file DI Context * @description Context for dependency injection (Fast Refresh compliant). */ /** * Service contract */ export interface ServiceContract { id: symbol; name: string; } /** * Service registration */ export interface ServiceRegistration { contract: ServiceContract; factory: () => T; singleton?: boolean; tags?: string[]; } /** * Feature DI container */ export interface FeatureDIContainer { register: (registration: ServiceRegistration) => void; resolve: (contract: ServiceContract) => T; tryResolve: (contract: ServiceContract) => T | undefined; has: (contract: ServiceContract) => boolean; resolveByTag: (tag: string) => T[]; clear: () => void; } /** * DI context - extracted for Fast Refresh compliance */ export declare const DIContext: import('react').Context;