import { type EditorFetch } from "./app.js"; import type { CommonLogger } from "./interfaces.js"; export interface LocalEditorOptions { sourceDirectory: string; port: number; logger: CommonLogger; deploymentUrl: string; } /** * The editor server as the Zuplo CLI runs it: a Node HTTP listener over the * shared Hono app, with the real filesystem, chokidar, and the built client on * disk plugged into it. */ export declare class LocalEditorServer { /** * Answers a request without going through the listener, for tests and for * anything embedding the editor in a server of its own. */ fetch: EditorFetch; private editorApp; private server; private listenerHost; private watcher; private listenerPort; private logger; private sourceDirectory; constructor(options: LocalEditorOptions); init: () => Promise; start: () => Promise; close: () => Promise; }