text.d.ts 595 B

123456789101112131415161718
  1. /**
  2. * @typedef {import('mdast').Parents} Parents
  3. * @typedef {import('mdast').Text} Text
  4. * @typedef {import('../types.js').Info} Info
  5. * @typedef {import('../types.js').State} State
  6. */
  7. /**
  8. * @param {Text} node
  9. * @param {Parents | undefined} _
  10. * @param {State} state
  11. * @param {Info} info
  12. * @returns {string}
  13. */
  14. export function text(node: Text, _: Parents | undefined, state: State, info: Info): string;
  15. export type Parents = import('mdast').Parents;
  16. export type Text = import('mdast').Text;
  17. export type Info = import('../types.js').Info;
  18. export type State = import('../types.js').State;