declare module "play-sound" { import type { ChildProcess } from "node:child_process"; interface PlaySoundPlayer { play(file: string, callback?: (error: Error | null) => void): ChildProcess; } type PlaySoundOptions = Record; interface PlaySoundFactory { (options?: PlaySoundOptions): PlaySoundPlayer; } const createPlayer: PlaySoundFactory; export = createPlayer; }