// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Sinkholes extends APIResource {
    /**
     * List sinkholes owned by this account
     */
    list(params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/intel/sinkholes`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (Sinkholes) {
})(Sinkholes || (Sinkholes = {}));
//# sourceMappingURL=sinkholes.mjs.map