heading.d.ts 422 B

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