import type { Db } from "@rudderhq/db";
import type express from "express";
import type { RudderAppOptions } from "./bootstrap/types.js";
export { resolveViteHmrPort } from "./bootstrap/create-http-app.js";
export interface RudderAppHandle {
    app: express.Express;
    close(): Promise<void>;
}
export declare function createRudderApp(db: Db, opts: RudderAppOptions): Promise<{
    app: import("express-serve-static-core").Express;
    close(): Promise<void>;
}>;
export declare function createApp(db: Db, opts: Parameters<typeof createRudderApp>[1]): Promise<import("express-serve-static-core").Express>;
//# sourceMappingURL=app.d.ts.map