/** * The four calls that draw something for one bar: a marker, an alert, a bar * colour and a pane background. * * All four are `EMIT` and a declared channel, and none of them is a library * call an engine performs. One instruction covers every drawing surface * (`compiled-program.md` 4.11); an instruction per surface would have added six * opcodes that all do the same thing and would have made every new surface a * format change. * * The alert is the one worth reading. `stdlib.md` 16.1 says the compiler lifts * each call into a watched condition whose predicate is the chain of guards * that reaches it. Nothing has to be lifted: the call site is only reached when * those guards passed, so writing `true` into the condition channel there is * the predicate, exactly. On a bar the guards refused, nothing writes the * channel and a channel nothing wrote is absent, which is no alert. */ import type { Call } from '../ast/index.js'; import type { Emitter, Frame } from './context.js'; export declare function emitEventCall(e: Emitter, f: Frame, call: Call, name: string): void; //# sourceMappingURL=events.d.ts.map