///
import express from "express";
import { Server } from "http";
import OBACoreApi from "@onebro/oba-core-api";
import { OBAExpressApiVars } from "./vars-types";
import { OBAExpressApiSockets } from "./sockets-main";
import { OBAExpressApiConfig } from "./express-api-config-type";
import { RouterEndpoint } from "./middleware-handler-types";
import { AnyBoolean } from "@onebro/oba-common";
export declare type OBAExpressApiBaseTypeMethods = {
monitor: () => Promise;
createApp: () => Promise;
startDB: () => Promise;
startServer: () => Promise;
initCore: (startDb?: AnyBoolean) => Promise;
initServer: (startServer?: AnyBoolean) => Promise;
init: (db?: AnyBoolean, server?: AnyBoolean) => Promise;
};
export declare type OBAExpressApiBaseType = Omit, "config"> & OBAExpressApiBaseTypeMethods & {
routes: RouterEndpoint[];
config: OBAExpressApiConfig;
vars: OBAExpressApiVars;
app: express.Express;
server: Server;
io: OBAExpressApiSockets;
};