import { Component, AnyBoolean } from "@onebro/oba-common"; import { OBAExpressApiConfigType, OBAExpressApiBaseType } from "./express-api-types"; import { RouterEndpoint } from "./middleware-handler-types"; export declare type OBAExpressApiConfig = OBAExpressApiConfigType; export interface OBAExpressApi extends Component, Ev>, OBAExpressApiBaseType { } export declare class OBAExpressApi extends Component, Ev> { get e(): import("@onebro/oba-core-api").OBACoreErrorFactory; get v(): OBAExpressApi["vars"]; set v(vars: OBAExpressApi["vars"]); get routes(): RouterEndpoint[]; startServer: () => Promise; createApp: () => Promise; initCore: (start?: AnyBoolean) => Promise; initServer: (start?: AnyBoolean) => Promise; monitor: () => Promise; init: (db?: AnyBoolean, server?: AnyBoolean) => Promise; } export default OBAExpressApi;