// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import { isRequestOptions } from 'cloudflare/core';
export class Ases extends APIResource {
    get(query = {}, options) {
        if (isRequestOptions(query)) {
            return this.get({}, query);
        }
        return this._client.get('/radar/bgp/top/ases', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
    prefixes(query = {}, options) {
        if (isRequestOptions(query)) {
            return this.prefixes({}, query);
        }
        return this._client.get('/radar/bgp/top/ases/prefixes', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
(function (Ases) {
})(Ases || (Ases = {}));
//# sourceMappingURL=ases.mjs.map