/** * @fileoverview BrightDbApplication — generic BrightDB-backed application base class. * * Extends the upstream Application with: * - HTTP server capture during start() * * Domain-specific service wiring stays in the consuming library's App subclass. * * @module application */ import type { PlatformID } from '@digitaldefiance/node-ecies-lib'; import { AppRouter, Application as UpstreamApplication, type IConstants } from '@digitaldefiance/node-express-suite'; import type { Server } from 'http'; import type { BrightDbEnvironment } from './environment'; /** * Generic BrightDB-backed application base class. * * Extends the upstream Application with: * - HTTP server capture during start() * * Domain-specific service wiring stays in the consuming library's App subclass. */ export declare class BrightDbApplication = BrightDbEnvironment, TConstants extends IConstants = IConstants, TAppRouter extends AppRouter = AppRouter> extends UpstreamApplication { /** * Captured HTTP server reference. * The upstream Application stores the server as a private field, * so subclasses intercept expressApp.listen() to capture it here. */ protected _httpServer: Server | null; /** * Get the HTTP server instance (available after start()). */ get httpServer(): Server | null; } //# sourceMappingURL=application.d.ts.map