import Client from '../Client'; import { Files } from '../models/Files'; declare class File implements Files { #private; path: string; constructor(client: Client, path: string); /** * Delete the file * * @return Promise */ delete(): Promise; /** * Gets a download url for the file * * @return string */ getDownloadUrl(): Promise; /** * Uploads the param to the file path * * @param file Buffer * * @return Promise */ upload(file: Blob): Promise; /** * Updates the file with a new path or just the file * * @param file Buffer * * @param newPath? string * * @return Promise */ update(file: Blob, newPath?: string): Promise; } export = File;