// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class Search extends 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);
    }
}
(function (Search) {
})(Search || (Search = {}));
//# sourceMappingURL=search.mjs.map