import { ContextOptions } from "../types"; import type { API } from "./raw"; /** * The class that encapsulates the collections API * @internal */ export declare class CollectionsAPI { private api; private contextOptions; constructor(api: API, contextOptions?: ContextOptions); /** * Creates a collection. */ create(collectionName: string): Promise; /** * Drops a collection. */ drop(collectionName: string): Promise; /** * Lists all collection names. * @returns Where `data` is an array of collection names */ list(): Promise; }