"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Searches = void 0;
const resource_1 = require("cloudflare/resource");
class Searches extends resource_1.APIResource {
    /**
     * Search for Load Balancing resources.
     */
    get(params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/load_balancers/search`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.Searches = Searches;
(function (Searches) {
})(Searches = exports.Searches || (exports.Searches = {}));
//# sourceMappingURL=searches.js.map