/** * @sharpee/platform-browser/channels/status — `location`, `score`, * `turn` channel renderers. * * Owner context: browser default. Implements ADR-165 §8 status-line * behavior: each status field is its own renderer writing into a * dedicated DOM element. Three small renderers, factored for clarity. * * The default browser layout's `status` slot contains three * sub-elements (`status-location`, `status-score`, `status-turn`). * Stories that customize the status line replace individual renderers * by registering a different `ChannelRenderer` against the same * channel id. */ import type { ChannelRenderer } from '@sharpee/channel-service'; /** * `location` channel — replace, text. Writes the room name into a * status-line element. */ export declare function createLocationChannelRenderer(el: HTMLElement): ChannelRenderer; /** * `score` channel — replace, json `{ current, max }`. Writes * `Score: 42` (no max) or `Score: 42 / 100` (bounded). */ export declare function createScoreChannelRenderer(el: HTMLElement): ChannelRenderer; /** * `turn` channel — replace, number. Writes `Turns: N`. */ export declare function createTurnChannelRenderer(el: HTMLElement): ChannelRenderer; //# sourceMappingURL=status.d.ts.map