/// /// /// /// import * as fs from 'fs'; import { Readable, Writable } from 'stream'; import TeaDate from './date'; export default class TeaFile { _path: string; _stat: fs.Stats; _fd: number; _position: number; constructor(path: string); path(): string; createTime(): Promise; modifyTime(): Promise; length(): Promise; read(size: number): Promise; write(data: Buffer): Promise; close(): Promise; static exists(path: string): Promise; static createReadStream(path: string): Readable; static createWriteStream(path: string): Writable; }