import type { Messages, Replies } from "./protocol.js"; /** * The message handling shared by the web worker and the Node worker thread: * initializes clingo on demand and serves solve requests, posting each model * while solving when streaming is requested. */ export declare function serve(post: (reply: Replies) => void): (message: Messages) => Promise;