signalforge
Version:
Fine-grained reactive state management with automatic dependency tracking - Ultra-optimized, zero dependencies
17 lines • 3.91 kB
TypeScript
export { createSignal, createComputed, createEffect, batch, untrack, flushSync, type Signal, type ComputedSignal, } from './core/store';
export { startBatch, endBatch, flushBatches, queueBatchCallback, getBatchDepth, getPendingCount, isBatching, } from './core/batcher';
export { registerPlugin, unregisterPlugin, getRegisteredPlugins, clearPlugins, enablePlugins, disablePlugins, arePluginsEnabled, createLoggerPlugin, createTimeTravelPlugin, createPerformancePlugin, createValidationPlugin, type Plugin, type SignalMetadata as PluginSignalMetadata, type PluginContext, type HistoryEntry, type PerformanceMetrics, } from './core/plugins';
export { registerPlugin as registerManagedPlugin, enablePlugin, disablePlugin, unregisterPlugin as unregisterManagedPlugin, getPlugin, isPluginEnabled, getAllPlugins, getPluginStats, clearAllPlugins, printPluginStatus, LoggerPlugin, TimeTravelPlugin, } from './core/pluginManager';
export { useSignal, useSignalValue, } from './hooks/useSignal';
export { useSignalEffect, } from './hooks/useSignalEffect';
export { derive, combine, map, filter, memo, createResource, debounce, throttle, type ResourceState, createArraySignal, createRecordSignal, monitor, getStorageAdapter, resetStorageAdapter, createStorageAdapter, detectEnvironment, safeStringify, safeParse, persist, createPersistentSignal, type StorageAdapter, type StorageOptions, type PersistOptions, type Environment, benchmarkSignalUpdates, benchmarkBatchedUpdates, compareWithRedux, compareWithZustand, benchmarkMemoryUsage, runBenchmarkSuite, logResults, getResults, clearResults, exportResults, customBenchmark, type BenchmarkResult, } from './utils/index';
export { enableDevTools, disableDevTools, isDevToolsEnabled, registerSignal, unregisterSignal, trackUpdate, trackDependency, untrackDependency, listSignals, getSignal, getDependencies, getSubscribers, getDependencyGraph, getSignalsByType, getPerformanceMetrics, getPerformanceSummary, clearPerformanceMetrics, createConsoleOverlay, exportSnapshot, printDependencyGraph, __DEVTOOLS__, type DevToolsConfig, type SignalMetadata, type PerformanceMetric, type DependencyNode, } from './devtools/inspector';
export { SignalGraphVisualizer, type SignalGraphVisualizerProps, } from './devtools/SignalGraphVisualizer';
export { PerformanceTab, type PerformanceTabProps, } from './devtools/ui/PerformanceTab';
export { enableProfiler, disableProfiler, isProfilerEnabled, resetProfiler, configureProfiler, getProfilerData, getSignalLatencyStats, getBatchStats, getLatencySamples, getBatchRecords, startLatencyMeasurement, endLatencyMeasurement, startBatchMeasurement, endBatchMeasurement, recordBatchOperation, type ProfilerData, type ProfilerConfig, type SignalLatencyStats, type BatchStats, type LatencySample, type BatchTimingRecord, } from './devtools/performanceProfiler';
export { initializeDevToolsBridge, shutdownDevToolsBridge, isBridgeConnected, getBridgeConfig, notifySignalCreated, notifySignalUpdated, notifyPerformanceMetric, type BridgeConfig, type BridgeMessage, type CommandMessage, type ResponseMessage, type SnapshotMessage, type Transport, type TransportType, type MessageType, } from './devtools/nativeBridge';
export { TimeTravelPlugin as TimeTravelPluginEnhanced, createTimeTravelPlugin as createEnhancedTimeTravelPlugin, calculateMemoryUsage, formatMemorySize, type TimeTravelConfig, type TimeTravelSnapshot, type TimeTravelSession, type TimelineState, type ValueDiff, } from './plugins/timeTravel';
export { TimeTravelTimeline, type TimeTravelTimelineProps, } from './devtools/ui/TimeTravelTimeline';
export { LoggerPlugin as LoggerPluginEnhanced, createLogger, createMinimalLogger, createDebugLogger, createFilteredLogger, type LogLevel, type LogType, type LogEntry, type LoggerOptions, type LogStats, } from './plugins/logger';
export { LogViewer, type LogViewerProps, } from './devtools/ui/LogViewer';
//# sourceMappingURL=index.d.ts.map