compile.d.ts 1.0 KB

123456789101112131415161718192021222324
  1. /**
  2. * @param {CompileOptions | null | undefined} [options]
  3. * @returns {Compile}
  4. */
  5. export function compile(options?: CompileOptions | null | undefined): Compile
  6. export type Compile = import('micromark-util-types').Compile
  7. export type CompileContext = import('micromark-util-types').CompileContext
  8. export type CompileData = import('micromark-util-types').CompileData
  9. export type CompileOptions = import('micromark-util-types').CompileOptions
  10. export type Definition = import('micromark-util-types').Definition
  11. export type Event = import('micromark-util-types').Event
  12. export type Handle = import('micromark-util-types').Handle
  13. export type HtmlExtension = import('micromark-util-types').HtmlExtension
  14. export type NormalizedHtmlExtension =
  15. import('micromark-util-types').NormalizedHtmlExtension
  16. export type Token = import('micromark-util-types').Token
  17. export type Media = {
  18. image?: boolean | undefined
  19. labelId?: string | undefined
  20. label?: string | undefined
  21. referenceId?: string | undefined
  22. destination?: string | undefined
  23. title?: string | undefined
  24. }