UNPKG

jodit

Version:

Jodit is an awesome and useful wysiwyg editor with filebrowser

22 lines (21 loc) 719 B
/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * Play a short beep on the owner's (lazily created, reused) AudioContext. * @internal */ export declare function sound(owner: object, { sec, frequency, gain, type }?: { sec?: number; frequency?: number; gain?: number; type?: 'sine' | 'square' | 'sawtooth' | 'triangle'; }): void; /** * Close and forget the owner's AudioContext. Call this when the owner is * destroyed so the context does not leak. * @internal */ export declare function closeSound(owner: object): void;