import { Howl, HowlErrorCallback, HowlCallback, SpatialPosition, SpatialOrientation, PannerAttributes } from 'howler';
import { SliderValue } from '../../slider/src/slider.js';
import { AudioPlayerProps, AudioPlayerTrack } from './audio-player.js';
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
declare function play(): void;
declare function pause(): void;
declare function stop(): void;
declare function seek(seconds: number): void;
declare function setVolume(value: SliderValue): void;
declare const _default: DefineComponent<AudioPlayerProps, {
    howl: Ref<{
        play: (spriteOrId?: string | number) => number;
        pause: (id?: number) => Howl;
        stop: (id?: number) => Howl;
        mute: {
            (): boolean;
            (muted: boolean, id?: number): Howl;
        };
        volume: {
            (): number;
            (idOrSetVolume: number): number | Howl;
            (volume: number, id: number): Howl;
        };
        fade: (from: number, to: number, duration: number, id?: number) => Howl;
        rate: {
            (id?: number): number;
            (rate: number, id?: number): Howl;
        };
        seek: {
            (id?: number): number;
            (seek: number, id?: number): Howl;
        };
        loop: {
            (id?: number): boolean;
            (loop: boolean, id?: number): Howl;
        };
        playing: (id?: number) => boolean;
        duration: (id?: number) => number;
        state: () => "unloaded" | "loading" | "loaded";
        load: () => Howl;
        unload: () => null;
        on: {
            (event: "load", callback: () => void, id?: number): Howl;
            (event: "loaderror" | "playerror", callback: HowlErrorCallback, id?: number): Howl;
            (event: "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", callback: HowlCallback, id?: number): Howl;
            (event: string, callback: HowlCallback | HowlErrorCallback, id?: number): Howl;
        };
        once: {
            (event: "load", callback: () => void, id?: number): Howl;
            (event: "loaderror" | "playerror", callback: HowlErrorCallback, id?: number): Howl;
            (event: "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", callback: HowlCallback, id?: number): Howl;
            (event: string, callback: HowlCallback | HowlErrorCallback, id?: number): Howl;
        };
        off: {
            (event: "load", callback?: () => void, id?: number): Howl;
            (event: "loaderror" | "playerror", callback?: HowlErrorCallback, id?: number): Howl;
            (event: "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", callback?: HowlCallback, id?: number): Howl;
            (event: "load" | "loaderror" | "playerror" | "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", id: number): Howl;
            (event?: string, callback?: HowlCallback | HowlErrorCallback, id?: number): Howl;
        };
        stereo: {
            (): number;
            (pan: number, id?: number): number | Howl;
        };
        pos: {
            (): SpatialPosition;
            (x: number, y?: number, z?: number, id?: number): Howl;
        };
        orientation: {
            (): SpatialOrientation;
            (x: number, y?: number, z?: number, id?: number): Howl;
        };
        pannerAttr: {
            (id?: number): PannerAttributes;
            (options: PannerAttributes, id?: number): Howl;
        };
    } | null, Howl | {
        play: (spriteOrId?: string | number) => number;
        pause: (id?: number) => Howl;
        stop: (id?: number) => Howl;
        mute: {
            (): boolean;
            (muted: boolean, id?: number): Howl;
        };
        volume: {
            (): number;
            (idOrSetVolume: number): number | Howl;
            (volume: number, id: number): Howl;
        };
        fade: (from: number, to: number, duration: number, id?: number) => Howl;
        rate: {
            (id?: number): number;
            (rate: number, id?: number): Howl;
        };
        seek: {
            (id?: number): number;
            (seek: number, id?: number): Howl;
        };
        loop: {
            (id?: number): boolean;
            (loop: boolean, id?: number): Howl;
        };
        playing: (id?: number) => boolean;
        duration: (id?: number) => number;
        state: () => "unloaded" | "loading" | "loaded";
        load: () => Howl;
        unload: () => null;
        on: {
            (event: "load", callback: () => void, id?: number): Howl;
            (event: "loaderror" | "playerror", callback: HowlErrorCallback, id?: number): Howl;
            (event: "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", callback: HowlCallback, id?: number): Howl;
            (event: string, callback: HowlCallback | HowlErrorCallback, id?: number): Howl;
        };
        once: {
            (event: "load", callback: () => void, id?: number): Howl;
            (event: "loaderror" | "playerror", callback: HowlErrorCallback, id?: number): Howl;
            (event: "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", callback: HowlCallback, id?: number): Howl;
            (event: string, callback: HowlCallback | HowlErrorCallback, id?: number): Howl;
        };
        off: {
            (event: "load", callback?: () => void, id?: number): Howl;
            (event: "loaderror" | "playerror", callback?: HowlErrorCallback, id?: number): Howl;
            (event: "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", callback?: HowlCallback, id?: number): Howl;
            (event: "load" | "loaderror" | "playerror" | "play" | "end" | "pause" | "stop" | "mute" | "volume" | "rate" | "seek" | "fade" | "unlock", id: number): Howl;
            (event?: string, callback?: HowlCallback | HowlErrorCallback, id?: number): Howl;
        };
        stereo: {
            (): number;
            (pan: number, id?: number): number | Howl;
        };
        pos: {
            (): SpatialPosition;
            (x: number, y?: number, z?: number, id?: number): Howl;
        };
        orientation: {
            (): SpatialOrientation;
            (x: number, y?: number, z?: number, id?: number): Howl;
        };
        pannerAttr: {
            (id?: number): PannerAttributes;
            (options: PannerAttributes, id?: number): Howl;
        };
    } | null>;
    play: typeof play;
    pause: typeof pause;
    stop: typeof stop;
    seek: typeof seek;
    setVolume: typeof setVolume;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
    pause: () => any;
    play: () => any;
    end: () => any;
    init: (howl: Howl) => any;
    ready: (howl: Howl) => any;
    "update:volume": (value: number) => any;
    "time-update": (currentTime: number, duration: number) => any;
}, string, PublicProps, Readonly<AudioPlayerProps> & Readonly<{
    onPause?: (() => any) | undefined;
    onPlay?: (() => any) | undefined;
    onEnd?: (() => any) | undefined;
    onInit?: ((howl: Howl) => any) | undefined;
    onReady?: ((howl: Howl) => any) | undefined;
    "onUpdate:volume"?: ((value: number) => any) | undefined;
    "onTime-update"?: ((currentTime: number, duration: number) => any) | undefined;
}>, {
    title: string;
    track: AudioPlayerTrack;
    volume: number;
    artist: string;
    loop: boolean;
    src: string | string[];
    autoplay: boolean;
    muted: boolean;
    playbackRates: number[];
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;
