diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 664b993..4571e5b 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -52,6 +52,16 @@ declare global { * @param name */ function StopTimer(name: string): void {} + /** + * Stops every playing instance of an audio file started with PlayAudio. + * + * @param filename The name of the audio file to stop. Relative to the sounds directory + */ + function StopAudio(filename: string): void {} + /** + * Stops all audio files started with PlayAudio. + */ + function StopAllAudio(): void {} /** * Determine if the rule has been violated, but only after a delay. Pass in a callback method, * where the rule evaluation takes place. This method is evaluated often (many times a second),