import type { ServerConfig } from "./modules/config/type.js"; export interface RunningHappy2 extends AsyncDisposable { /** Actual bound URL. This differs from config.server.publicUrl when port 0 is used. */ url: string; close(): Promise; } export interface BackendOptions { errorLogPath?: string; logger?: boolean; /** Explicit process-private local capability captured by an embedding host. */ localAccessToken?: string; } /** Starts only the Happy (2) backend, without serving or proxying the web application. */ export declare function startBackendHappy2(config: ServerConfig, options?: BackendOptions): Promise; //# sourceMappingURL=backend.d.ts.map