import type { EventEmitter } from 'node:events'; import { Hono } from 'hono'; import type { AppProcess } from '../AppProcess.js'; import { type ProjectManifestVariables } from './middlewares/project-manifest.middleware.js'; import { type JsonBodyVariables } from './middlewares/read-json-body.middleware.js'; import { type WorkflowAuthorizationVariables } from './middlewares/workflow-authorization.middleware.js'; export interface CreateAppOptions { appProcess: AppProcess; events: EventEmitter; projectDir: string; } type AppEnv = { Variables: ProjectManifestVariables & JsonBodyVariables & WorkflowAuthorizationVariables; }; export declare function createApp({ appProcess, events, projectDir, }: CreateAppOptions): Hono; export {};