//#region src/events/event-constants.d.ts /** * MUSTER_EVENTS — domain event constants. Hosts import these when * subscribing so typos become compile errors. All names use the `muster:` * prefix per PACKAGE_RULES §12. * * @example * ```ts * import { MUSTER_EVENTS } from '@classytic/muster'; * await muster.events.subscribe(MUSTER_EVENTS.SESSION_OPENED, handler); * await muster.events.subscribe('muster:*', handler); * ``` */ declare const MUSTER_EVENTS: { readonly SESSION_OPENED: 'muster:session.opened'; readonly SESSION_CLOSED: 'muster:session.closed'; readonly SESSION_CANCELLED: 'muster:session.cancelled'; readonly SESSION_CORRECTED: 'muster:session.corrected'; readonly RECORD_APPENDED: 'muster:record.appended'; readonly CORRECTION_REQUESTED: 'muster:correction.requested'; readonly CORRECTION_APPROVED: 'muster:correction.approved'; readonly CORRECTION_REJECTED: 'muster:correction.rejected'; }; type MusterEventName = (typeof MUSTER_EVENTS)[keyof typeof MUSTER_EVENTS]; //#endregion export { MUSTER_EVENTS, MusterEventName };