/** * @module types * The public option, event and marker types of WaveformPlayer. Moved here from * the hand-written index.d.ts so the source uses the same definitions the * published types are generated from. */ import type { WaveformPlayer } from './core.js'; /** * Visual style of the waveform. * * - `bars` — vertical bars from the baseline up * - `mirror` — symmetrical bars mirrored around the centre line (default) * - `line` — connected line graph * - `blocks` — chunky square blocks * - `dots` — dotted plot * - `seekbar` — minimal seek bar with no peak detail */ export type WaveformStyle = 'bars' | 'mirror' | 'line' | 'blocks' | 'dots' | 'seekbar'; /** Forced colour scheme. `null` (default) auto-detects from the page theme and `prefers-color-scheme`. */ export type ColorPreset = 'dark' | 'light' | null; /** * How the player handles audio. * * - `self` — the player owns an `