// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as SinkholesAPI from 'cloudflaredev/resources/intel/sinkholes';
import { SinglePage } from 'cloudflaredev/pagination';
export class Sinkholes extends APIResource {
    /**
     * List sinkholes owned by this account
     */
    list(params, options) {
        const { account_id } = params;
        return this._client.getAPIList(`/accounts/${account_id}/intel/sinkholes`, SinkholesSinglePage, options);
    }
}
export class SinkholesSinglePage extends SinglePage {
}
(function (Sinkholes) {
    Sinkholes.SinkholesSinglePage = SinkholesAPI.SinkholesSinglePage;
})(Sinkholes || (Sinkholes = {}));
//# sourceMappingURL=sinkholes.mjs.map