"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncAB = exports.AsyncABRef = exports.AsyncABWatch = exports.AsyncABCall = exports.AsyncABGet = void 0;
const AsyncABGet = (buffer) => ({
    $arrayBuffer: function (data, callback) {
        void (async () => {
            const buffer_ = await buffer.arrayBuffer();
            callback(buffer_);
        })();
    },
});
exports.AsyncABGet = AsyncABGet;
const AsyncABCall = (buffer) => ({});
exports.AsyncABCall = AsyncABCall;
const AsyncABWatch = (buffer) => {
    return {};
};
exports.AsyncABWatch = AsyncABWatch;
const AsyncABRef = (buffer) => ({});
exports.AsyncABRef = AsyncABRef;
const AsyncAB = (buffer) => {
    return {
        ...(0, exports.AsyncABGet)(buffer),
        ...(0, exports.AsyncABCall)(buffer),
        ...(0, exports.AsyncABWatch)(buffer),
        ...(0, exports.AsyncABRef)(buffer),
    };
};
exports.AsyncAB = AsyncAB;
//# sourceMappingURL=AsyncAB.js.map