import { HilDaemon } from "../hil/daemon.js"; export type FakeDaemon = HilDaemon & { calls: Array<{ op: string; args: Record; }>; }; /** * Build a daemon whose request() dispatches to `handlers[op]`. Unknown ops * raise HilError("UNKNOWN_OP") so a test that forgets a handler fails loudly * instead of resolving undefined. A handler may throw a HilError to simulate a * daemon error reply. */ export declare function fakeDaemon(handlers: Record) => unknown>): FakeDaemon;