import { CollectionInsertOneOptions, CommonOptions } from 'mongodb'; import { IRequestModel } from '../../interfaces'; import { ResponseModel } from '../../models'; export declare class Routes { static readonly Names: string[]; static schema(data: IRequestModel): Promise; static read(data: IRequestModel): Promise; static create(data: IRequestModel, opts?: CollectionInsertOneOptions): Promise; static update(data: IRequestModel, opts?: CommonOptions): Promise; static delete(data: IRequestModel, opts?: CommonOptions): Promise; static operation(data: IRequestModel): Promise; static transaction(data: IRequestModel): Promise; private static _getOperation; private static _getValidation; private static _getCollection; private static _getPipeline; }