import EventEmitter from 'events'; import DataValidator from '@vvlad1973/data-validator'; import { ContentTypeSuffix } from '../constants.js'; export declare abstract class BaseApi extends EventEmitter { static validator: DataValidator; static schemasMap: Map>; static schemas: Map>; static initPromise: Promise; protected abstract callApi(methodName: string, params: object, routeId?: string, contentType?: keyof typeof ContentTypeSuffix): Promise; protected executeCallApi(methodName: string, params: object, routeId?: string, contentType?: keyof typeof ContentTypeSuffix): Promise; static init(): Promise; }