import type { FastifyInstance, FastifyServerOptions } from 'fastify'; import { type AppConfig } from './config.js'; import { BusinessService } from './lib/business-service.js'; import { PageService } from './lib/page-service.js'; import { TemplateRegistry } from './lib/template-registry.js'; export type HostAppContext = { app: FastifyInstance; businessService: BusinessService; pageService: PageService; templateRegistry: TemplateRegistry; config: AppConfig; }; export type StartedHostServer = HostAppContext & { address: string; close: () => Promise; }; export declare function createHostApp(options?: { logger?: FastifyServerOptions['logger']; }): Promise; export declare function startHostServer(options?: { logger?: FastifyServerOptions['logger']; }): Promise;