import type { SheetControls } from './playback/control-options.mts'; /** Own one score's controls, cursor and event listeners for the lifetime of this render. */ export declare class PlayerOverlay { private readonly root; surface?: SVGElement; private readonly status; private readonly controls; private readonly listeners; private sheet?; private untrack?; private revealTimer?; private hideAt; private dismissHoverTempo?; private toggle?; private marker?; private metronome?; private scrollButton?; private follower?; private readout?; private decrease?; private tempo; constructor(score: HTMLCanvasElement | SVGSVGElement | undefined, className: string, showControls: boolean, play: () => void, stop: () => void, tempo: number, changeTempo: (bpm: number) => void, settings: Required, toolbar?: HTMLElement); /** Follow only while the large panel is available, preserving the reader's position when switched off. */ private setFollowing; /** Use the primary playhead, which already spans the active stave or whole system. */ followSystem(bar: SVGLineElement, newSystem: boolean): void; /** The wrapper follows the engraved surface through layout, zoom and responsive resizing. */ private mountSheet; /** Movement extends the deadline. Use a single timer even for a high-frequency mouse. */ private reveal; /** Open the tempo stepper on hover or activation and keep it open as focus moves inside. */ private addTempo; /** Reflect source tempo and subsequent changes from either the API or the sheet. */ setTempo(tempo: number): void; /** Keep the soundfont loading message available to screen readers. */ setStatus(message: string): void; /** Show the active transport state and clear the marker on stop. */ setPlaying(playing: boolean): void; /** Keep keyboard focus on the same button during loading, playback and cancellation. */ private setButton; /** Retain the point-marker API for hosts that supply their own position callbacks. */ moveCursor(x: number, y: number): void; /** Drop the cursor, controls, and their event handlers when the score is replaced. */ remove(): void; }