preprocess.d.ts 450 B

12345678910111213
  1. /**
  2. * @returns {Preprocessor}
  3. */
  4. export function preprocess(): Preprocessor
  5. export type Chunk = import('micromark-util-types').Chunk
  6. export type Code = import('micromark-util-types').Code
  7. export type Encoding = import('micromark-util-types').Encoding
  8. export type Value = import('micromark-util-types').Value
  9. export type Preprocessor = (
  10. value: Value,
  11. encoding?: Encoding | null | undefined,
  12. end?: boolean | null | undefined
  13. ) => Array<Chunk>