import express from "express"; import { Arkos } from "./types/arkos"; import { IncomingMessage, Server, ServerResponse } from "http"; export declare const app: express.Express; /** * Creates and configures an Arkos application instance. * * Arkos extends Express with a small set of methods for registering routers, * loading route/service hooks, and booting the application. All Arkos-specific * setup (`app.build()`) must happen before the app starts * accepting requests. * * @example * ```ts * // Simple setup * import arkos from "arkos"; * * const app = arkos(); * * app.use(reportsRouter); * * app.listen(); * ``` * * @example * ```ts * // Custom HTTP server (e.g. for WebSockets) * import arkos from "arkos"; * import http from "http"; * * const app = arkos(); * * app.use(reportsRouter); * * await app.build(); * * const server = http.createServer(app); * app.listen(server) * ``` * * @see {@link https://www.arkosjs.com/docs/core-concepts/routing/setup} */ export declare function arkos(): Arkos; export declare function getAppServer(): Server;