# Type Definitions

The following declarations are available globally.
- `
  ### InteractiveSegmenterLegacyResult

  ` Segmentation masks and quality scores produced by `InteractiveSegmenterLegacy`.

  Shares `ImageSegmenterResult` because both tasks emit the same C `MpImageSegmenterResult`; `timestampInMilliseconds` is always `0` since the legacy task only supports single images.

  #### Declaration

  Swift

      typealias InteractiveSegmenterLegacyResult = ImageSegmenterResult