// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class PermissionGroups extends APIResource {
    /**
     * Find all available permission groups.
     */
    list(options) {
        return this._client.get('/user/tokens/permission_groups', options)._thenUnwrap((obj) => obj.result);
    }
}
(function (PermissionGroups) {
})(PermissionGroups || (PermissionGroups = {}));
//# sourceMappingURL=permission-groups.mjs.map