import { HttpBaseClient } from '../MochowClient'; import { AddFieldArgs, CommonResponse, Constructor, CreateTableArgs, DescTableResponse, ListTableResponse, ShowTableStatsResponse } from '../types'; /** * * @param {Constructor} Base - The base class to be extended. * @returns {class} - The extended class with additional methods for collection management. * * @method createTable - create one table * @method dropTable - drop one database. * @method listTables - list all tables. * @method descTable - desc one table. * @method addField - add one field. * @method aliasTable - alias one table. * @method unaliasTable - unalias one table. * @method showTableStats - show table stats. */ export declare function Table>(Base: T): { new (...args: any[]): { readonly tablePrefix: string; createTable(args: CreateTableArgs): Promise; dropTable(database: string, table: string): Promise; listTables(database: string): Promise; descTable(database: string, table: string): Promise; addField(args: AddFieldArgs): Promise; aliasTable(database: string, table: string, alias: string): Promise; unaliasTable(database: string, table: string, alias: string): Promise; showTableStats(database: string, table: 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;