@wizecorp/stratusjs
Version:
Stratus React Framework
15 lines • 906 B
TypeScript
export { ServiceContainer } from './ServiceContainer';
export { ServiceProvider, useServiceContainer, useService, useOptionalService } from './ServiceContext';
export type { Service, ServiceConstructor, ServiceDependency, ServiceContainer as IServiceContainer, ServiceContextValue, HttpService as IHttpService, StorageService, AuthService as IAuthService, RequestConfig, ServiceMetadata } from './types';
export { HttpService, HttpError } from './built-in/HttpService';
export { LocalStorageService, SessionStorageService, MemoryStorageService } from './built-in/StorageService';
export { AuthService } from './built-in/AuthService';
export declare const SERVICE_TOKENS: {
readonly HTTP: symbol;
readonly STORAGE: symbol;
readonly AUTH: symbol;
readonly LOCAL_STORAGE: symbol;
readonly SESSION_STORAGE: symbol;
readonly MEMORY_STORAGE: symbol;
};
//# sourceMappingURL=index.d.ts.map