import { immerable } from '@topwrite/common'; export default class File { [immerable]: boolean; path: string; content: Buffer; ctime: string; constructor(path: string, content: Buffer); get mime(): string; relative(to: string): string; resolve(to: string): string; static createFromSocket(path: string): Promise; }