import type { TaskStore } from "../../types.js"; import type { StorageEngine } from "./engine.js"; import { type StorageMode } from "./paths.js"; export interface FileStorageOptions { /** Explicit storage path (overrides mode) */ path?: string; /** Storage mode: "in-repo" (default) or "centralized" */ mode?: StorageMode; } export declare class FileStorage implements StorageEngine { private storagePath; constructor(options?: string | FileStorageOptions); private get tasksDir(); private ensureDirectory; read(): TaskStore; write(store: TaskStore): void; getIdentifier(): string; /** * @deprecated Use getIdentifier() instead. Kept for backward compatibility. */ getPath(): string; /** * Async read implementation (wraps synchronous read) */ readAsync(): Promise; /** * Async write implementation (wraps synchronous write) */ writeAsync(store: TaskStore): Promise; /** * File storage supports synchronous operations */ isSync(): boolean; } export declare const TaskStorage: typeof FileStorage; //# sourceMappingURL=file-storage.d.ts.map