export interface FlipSoundOptions { /** A clip URL that overrides the bundled default (fetched at runtime). */ url?: string; /** Playback volume, 0..1. Default 0.5. */ volume?: number; } /** * Plays a short sound on each page turn. * * Everything here is best-effort: a browser that gates audio behind a gesture, has no Web Audio, or * cannot decode the clip simply stays silent. A page flip must never throw or stall because of * sound, so every path is guarded and failures are swallowed. * * Web Audio (not `