import type { Store } from 'mem-fs'; import type Vinyl from 'vinyl'; import read from './actions/read.ts'; import readJSON from './actions/read-json.ts'; import exists from './actions/exists.ts'; import write from './actions/write.ts'; import writeJSON from './actions/write-json.ts'; import extendJSON from './actions/extend-json.ts'; import append from './actions/append.ts'; import appendTpl from './actions/append-tpl.ts'; import deleteAction from './actions/delete.ts'; import { copy } from './actions/copy.ts'; import { copyTpl } from './actions/copy-tpl.ts'; import { copyAsync } from './actions/copy-async.ts'; import copyTplAsync from './actions/copy-tpl-async.ts'; import move from './actions/move.ts'; import commit from './actions/commit.ts'; import dump from './actions/dump.ts'; export type { PipelineOptions, FileTransform } from 'mem-fs'; export interface MemFsEditorFile { path: string; stat?: { mode?: number; } | null; contents: Buffer | null; committed?: boolean; isNew?: boolean; state?: 'modified' | 'deleted'; stateCleared?: 'modified' | 'deleted'; editorMetadata?: Record; } export interface VinylMemFsEditorFile extends Omit, MemFsEditorFile { } export declare class MemFsEditor { store: Store; constructor(store: Store); } export interface MemFsEditor { read: typeof read; readJSON: typeof readJSON; exists: typeof exists; write: typeof write; writeJSON: typeof writeJSON; extendJSON: typeof extendJSON; append: typeof append; appendTpl: typeof appendTpl; delete: typeof deleteAction; copy: typeof copy; copyTpl: typeof copyTpl; copyAsync: typeof copyAsync; copyTplAsync: typeof copyTplAsync; move: typeof move; commit: typeof commit; dump: typeof dump; } export declare function create(store: Store): MemFsEditor;