Files
smartfs/ts/index.ts
2025-11-21 18:36:31 +00:00

41 lines
1.0 KiB
TypeScript

/**
* SmartFS - Modern pluggable filesystem module
* @packageDocumentation
*/
// Main classes
export { SmartFs } from './classes/smartfs.js';
export { SmartFsFile } from './classes/smartfs.file.js';
export { SmartFsDirectory } from './classes/smartfs.directory.js';
export { SmartFsTransaction } from './classes/smartfs.transaction.js';
export { SmartFsWatcher, SmartFsActiveWatcher } from './classes/smartfs.watcher.js';
// Providers
export { SmartFsProviderNode } from './providers/smartfs.provider.node.js';
export { SmartFsProviderMemory } from './providers/smartfs.provider.memory.js';
// Interfaces and Types
export type {
ISmartFsProvider,
IProviderCapabilities,
TWatchCallback,
IWatcherHandle,
} from './interfaces/mod.provider.js';
export type {
TEncoding,
TFileMode,
IFileStats,
IDirectoryEntry,
TWatchEventType,
IWatchEvent,
TTransactionOperationType,
ITransactionOperation,
IReadOptions,
IWriteOptions,
IStreamOptions,
ICopyOptions,
IListOptions,
IWatchOptions,
} from './interfaces/mod.types.js';