import { HTTPClient } from "../http/client"; import { Database, DatabaseCreateInput } from "../types"; /** * API for managing CortexDB databases. */ export declare class DatabasesAPI { private http; constructor(http: HTTPClient); /** List all databases registered in CortexDB. */ list(): Promise; /** Retrieve a database by name. */ get(name: string): Promise; /** Create a new database. */ create(payload: DatabaseCreateInput): Promise; /** Delete a database (and all of its collections). */ delete(name: string): Promise; } //# sourceMappingURL=api.d.ts.map