<commit_before>{Point, Range} = require 'text-buffer'
{Emitter, Disposable, CompositeDisposable} = require 'event-kit'
{deprecate} = require 'grim'

module.exports =
  BufferedNodeProcess: require '../src/buffered-node-process'
  BufferedProcess: require '../src/buffered-process'
  GitRepository: require '../src/git-repository'
  Notification: require '../src/notification'
  Point: Point
  Range: Range
  Emitter: Emitter
  Disposable: Disposable
  CompositeDisposable: CompositeDisposable

# The following classes can't be used from a Task handler and should therefore
# only be exported when not running as a child node process
unless process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE
  module.exports.Task = require '../src/task'
  module.exports.TextEditor = require '../src/text-editor'

  {$, $$, $$$, View} = require '../src/space-pen-extensions'

  Object.defineProperty module.exports, 'Workspace', get: ->
    deprecate """
      Requiring `Workspace` from `atom` is no longer supported.
      If you need this, please open an issue on<commit_msg>Export TextBuffer for external package usage<commit_after>TextBuffer = require 'text-buffer'
{Point, Range} = TextBuffer
{Emitter, Disposable, CompositeDisposable} = require 'event-kit'
{deprecate} = require 'grim'

module.exports =
  BufferedNodeProcess: require '../src/buffered-node-process'
  BufferedProcess: require '../src/buffered-process'
  GitRepository: require '../src/git-repository'
  Notification: require '../src/notification'
  TextBuffer: TextBuffer
  Point: Point
  Range: Range
  Emitter: Emitter
  Disposable: Disposable
  CompositeDisposable: CompositeDisposable

# The following classes can't be used from a Task handler and should therefore
# only be exported when not running as a child node process
unless process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE
  module.exports.Task = require '../src/task'
  module.exports.TextEditor = require '../src/text-editor'

  {$, $$, $$$, View} = require '../src/space-pen-extensions'

  Object.defineProperty module.exports, 'Workspace', get: ->
    deprecate """
      Requiring `Workspace` from `atom` is no longer supported.
      If you need this, please open an issue on
{'fraction_non_alphanumeric': 0.11425959780621572, 'fraction_numerical': 0.0, 'mean_word_length': 4.326034063260341, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3350210', 'n_tokens_mistral': 649, 'n_tokens_neox': 624, 'n_words': 192}