import { DocumentRef, DocumentEntity, FileRef, SourceReader, SourceWriter, SourceRemover, FileMappingOptions, Formatter } from "./types"; export declare type DefaultDocumentRefCreateOptioons = { projectRoot: string; fileRef: FileRef; reader: SourceReader; writer: SourceWriter; remover: SourceRemover; fileMappingOptions: FileMappingOptions; formatter: Formatter; }; export declare class DefaultDocumentRef implements DocumentRef { private _opt; private _phantom?; private _file; constructor(_opt: DefaultDocumentRefCreateOptioons); private _doc?; getFile(): FileRef; getDoc(): DocumentEntity; detach(): void; commit(): Promise; move(to: FileRef): Promise; }