import { Path } from './path'; import { WritableFile } from './writable_file'; export declare class File extends WritableFile { props?: ({ basename?: string | undefined; cwd?: string | undefined; path?: string | undefined; } & { defaultContent?: string | undefined; } & { readonly?: boolean | undefined; forgive?: boolean | undefined; }) | undefined; constructor(props?: ({ basename?: string | undefined; cwd?: string | undefined; path?: string | undefined; } & { defaultContent?: string | undefined; } & { readonly?: boolean | undefined; forgive?: boolean | undefined; }) | undefined); get readonlyError(): void; writeFromString(content: string): Promise; createFromString(content: string): Promise; upsertFromString(content: string): Promise; copy(dest: ConstructorParameters[0] | Path): Promise; move(dest: ConstructorParameters[0] | Path): Promise; }