declare module 'fs' { import * as Promise from "bluebird"; export function writeFileAsync(filename: string, data: any): Promise; export function writeFileAsync(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; } | string): Promise; export function writeFileAsync(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; } | string): Promise; export function appendFileAsync(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; } | string): Promise; export function appendFileAsync(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; } | string): Promise; export function appendFileAsync(filename: string, data: any): Promise; export function readFileAsync(filename: string, encoding: string): Promise; export function readFileAsync(filename: string, options: { encoding: string; flag?: string; }): Promise; export function readFileAsync(filename: string, options: { flag?: string; }): Promise; export function readFileAsync(filename: string): Promise; export function readdirAsync(path: string): Promise; export function unlinkAsync(path: string): Promise; export function mkdirAsync(path: string): Promise; export function mkdirAsync(path: string, mode: number): Promise; export function mkdirAsync(path: string, mode: string): Promise; export function renameAsync(oldPath: string, newPath: string): Promise; export function statAsync(path: string): Promise; export function rmdirAsync(path: string): Promise; }