index.d.ts 410 B

1234567891011121314
  1. /**
  2. * Tokenize subcontent.
  3. *
  4. * @param {Array<Event>} events
  5. * List of events.
  6. * @returns {boolean}
  7. * Whether subtokens were found.
  8. */
  9. export function subtokenize(
  10. events: Array<import('micromark-util-types').Event>
  11. ): boolean
  12. export type Chunk = import('micromark-util-types').Chunk
  13. export type Event = import('micromark-util-types').Event
  14. export type Token = import('micromark-util-types').Token