import Client from '../Client'; import { Documents } from '../models/Documents'; declare class Document implements Documents { #private; id: string; data: object; constructor(client: Client, collection: string, id?: string, data?: object); /** * Updates the selected doc * * @param update object * * @return Promise */ update: (update: object) => Promise; /** * Deletes the selected doc * * @return Promise */ delete: () => Promise; } export = Document;