// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as PermissionGroupsAPI from 'cloudflaredev/resources/user/tokens/permission-groups';
import { SinglePage } from 'cloudflaredev/pagination';
export class PermissionGroups extends APIResource {
    /**
     * Find all available permission groups.
     */
    list(options) {
        return this._client.getAPIList('/user/tokens/permission_groups', PermissionGroupListResponsesSinglePage, options);
    }
}
export class PermissionGroupListResponsesSinglePage extends SinglePage {
}
(function (PermissionGroups) {
    PermissionGroups.PermissionGroupListResponsesSinglePage = PermissionGroupsAPI.PermissionGroupListResponsesSinglePage;
})(PermissionGroups || (PermissionGroups = {}));
//# sourceMappingURL=permission-groups.mjs.map