import type { Store } from 'mem-fs'; import type Vinyl from 'vinyl'; export type { PipelineOptions, FileTransform } from 'mem-fs'; import read from './actions/read.js'; import readJSON from './actions/read-json.js'; import exists from './actions/exists.js'; import write from './actions/write.js'; import writeJSON from './actions/write-json.js'; import extendJSON from './actions/extend-json.js'; import append from './actions/append.js'; import appendTpl from './actions/append-tpl.js'; import deleteAction from './actions/delete.js'; import { copy } from './actions/copy.js'; import { copyTpl } from './actions/copy-tpl.js'; import { copyAsync } from './actions/copy-async.js'; import copyTplAsync from './actions/copy-tpl-async.js'; import move from './actions/move.js'; import commit from './actions/commit.js'; import dump from './actions/dump.js'; export interface MemFsEditorFile { path: string; stat?: { mode?: number; } | null; contents: Buffer | null; committed?: boolean; isNew?: boolean; state?: 'modified' | 'deleted'; stateCleared?: 'modified' | 'deleted'; } 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;