root.d.ts 407 B

123456789101112
  1. /**
  2. * @param {Root} node
  3. * @param {Parents | undefined} _
  4. * @param {State} state
  5. * @param {Info} info
  6. * @returns {string}
  7. */
  8. export function root(node: Root, _: Parents | undefined, state: State, info: Info): string;
  9. export type Parents = import('mdast').Parents;
  10. export type Root = import('mdast').Root;
  11. export type Info = import('../types.js').Info;
  12. export type State = import('../types.js').State;