import type { Checker } from './checker.js'; import type { CheckedCall } from './checked.js'; import type { LibraryEntry } from './library.js'; export declare function recordOutput(checker: Checker, entry: LibraryEntry, checked: CheckedCall): void; export declare function reportCallWarnings(checker: Checker, entry: LibraryEntry, checked: CheckedCall): void; /** * The name one watched condition is known by, `stdlib.md` 16.1. * * It is the `id` the script wrote, and where there is none to write down, one * derived from the line the call sits on. The derivation is here, once, because * the checker reports two alerts that would land under one name and the emitter * writes the name into `outputs.alerts[].key`, and two spellings of it would be * two different answers to "which subscription is this". * * An id is written down only when it is a literal. One taken from an `input()` * is a name that changes when a setting changes, and a subscription keyed on it * would stop matching the moment a user touched the dialog, so it is derived * like an absent one and OS8008 says so. */ export declare function alertKey(id: string | undefined, line: number): string; /** * OS3017 over the watched conditions: two alerts that would share one name. * * A subscription is keyed by the name, so two entries under one name leave the * host with two conditions and one row: whichever it keeps, the other fires * nothing and nothing says which of the two the user subscribed to. The check * runs over the derived name as well as the written one, because an id somebody * writes by hand can collide with a derived one. */ export declare function reportRepeatedAlertIds(checker: Checker): void; //# sourceMappingURL=outputs.d.ts.map