import { QueryController, RequestOptions } from "./query.controller"; import { RulesController } from "./rules.controller"; import { HttpClientController } from "./http-client.controller"; import { AuthController } from "./auth.controller"; import { AggregateController } from "./aggregate.controller"; export declare class DatabaseController { private readonly domainName; private readonly httpClientController; private readonly rulesController; private readonly authController; private readonly appName; constructor(domainName: string, httpClientController: HttpClientController, rulesController: RulesController, authController: AuthController, appName: string); save(model: T | T[], options?: RequestOptions): Promise; getAll(query?: { size?: number; skip?: number; hashes?: string[]; cids?: boolean; }, options?: RequestOptions): Promise; get(id: string, options?: RequestOptions): Promise; query(): QueryController; aggregate(): AggregateController; static _getErrorMessage(e: any): any; }