import { DeepBaseDriver, DeepBaseDriverOptions } from 'deepbase'; export interface JsonDriverOptions extends DeepBaseDriverOptions { name?: string; path?: string; stringify?: (obj: any) => string; parse?: (str: string) => any; /** Enable cross-process file locking for safe multi-process access */ multiProcess?: boolean; } export class JsonDriver extends DeepBaseDriver { constructor(options?: JsonDriverOptions); name: string; path: string; fileName: string; stringify: (obj: any) => string; parse: (str: string) => any; obj: Record; } export default JsonDriver;