import { HttpBaseClient } from '../MochowClient'; import { CommonResponse, Constructor, ListDatabaseResponse } from '../types'; /** * * @param {Constructor} Base - The base class to be extended. * @returns {class} - The extended class with additional methods for collection management. * * @method listDatabases - Lists all databases. * @method createDatabase - Create one database. * @method dropDatabases - drop one database. */ export declare function Database>(Base: T): { new (...args: any[]): { readonly databasePrefix: string; listDatabases(): Promise; createDatabase(databaseName: string): Promise; dropDatabases(databaseName: string): Promise; config: import("../types").ClientConfiguration; readonly baseURL: string; readonly authorization: string; readonly timeout: number; readonly headers: { Authorization: string; ContentType: string; }; POST(url: string, params?: Record, data?: Record): Promise; DELETE(url: string, params?: Record, data?: Record): Promise; }; } & T;