import { type HTMLAudioElementWithUnlocked, type SoundOptions } from "./types.ts"; import { Voice } from "./voice.ts"; declare class Sound { constructor(o: SoundOptions); init(o: SoundOptions): this; load(): this; play(sprite?: string | number, internal?: boolean): number | null; pause(id?: number, internal?: boolean): this; stop(id?: number, internal?: boolean): this; mute(muted: boolean, id?: number): boolean | this; volume(): number; volume(vol: number, id?: number, internal?: boolean): this; fade(from: number, to: number, len: number, id?: number): this; loop(): boolean; loop(loop: boolean, id?: number): this; rate(): number; rate(rate: number, id?: number): this; seek(): number; seek(seek: number, id?: number): this; playing(id?: number): boolean; duration(id?: number): number; state(): string; unload(): null; on(event: string, fn: (...args: unknown[]) => void, id?: number, once?: boolean): this; off(event: string, fn?: (...args: unknown[]) => void, id?: number): this; once(event: string, fn: (...args: unknown[]) => void, id?: number): this; } export { Sound }; //# sourceMappingURL=sound.d.ts.map