"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncADB = exports.AsyncADBRef = exports.AsyncADBWatch = exports.AsyncADBCall = exports.AsyncADBGet = void 0;
const AsyncADBGet = (buffer) => ({
    $audioBuffer: function (data, callback) {
        void (async () => {
            const buffer_ = await buffer.audioBuffer();
            callback(buffer_);
        })();
    },
});
exports.AsyncADBGet = AsyncADBGet;
const AsyncADBCall = (buffer) => ({});
exports.AsyncADBCall = AsyncADBCall;
const AsyncADBWatch = (buffer) => {
    return {};
};
exports.AsyncADBWatch = AsyncADBWatch;
const AsyncADBRef = (buffer) => ({});
exports.AsyncADBRef = AsyncADBRef;
const AsyncADB = (buffer) => {
    return {
        ...(0, exports.AsyncADBGet)(buffer),
        ...(0, exports.AsyncADBCall)(buffer),
        ...(0, exports.AsyncADBWatch)(buffer),
        ...(0, exports.AsyncADBRef)(buffer),
    };
};
exports.AsyncADB = AsyncADB;
//# sourceMappingURL=AsyncADB.js.map