"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Search = void 0;
const resource_1 = require("cloudflare/resource");
class Search extends resource_1.APIResource {
    /**
     * Lets you search for locations, autonomous systems (AS) and reports.
     */
    global(query, options) {
        return this._client.get('/radar/search/global', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
exports.Search = Search;
(function (Search) {
})(Search = exports.Search || (exports.Search = {}));
//# sourceMappingURL=search.js.map