import { Expand } from 'arx-convert/utils';
import { Audio } from '../../Audio.js';
import { EntityConstructorPropsWithoutSrc } from '../../Entity.js';
import { Marker } from '../entity/Marker.js';
import { SoundFlags } from '../../scripting/classes/Sound.js';
type SoundPlayerConstructorProps = Expand<EntityConstructorPropsWithoutSrc & {
    audio: Audio;
    /**
     * default value is SoundFlags.EmitFromPlayer
     */
    flags?: SoundFlags;
    /**
     * default value is false
     */
    autoplay?: boolean;
}>;
export declare class SoundPlayer extends Marker {
    readonly autoplay: boolean;
    private sound;
    constructor({ audio, flags, autoplay, ...props }: SoundPlayerConstructorProps);
    on(): string;
    off(): string;
}
export {};
