emphasis.d.ts 735 B

123456789101112131415161718192021222324
  1. /**
  2. * @param {Emphasis} node
  3. * @param {Parents | undefined} _
  4. * @param {State} state
  5. * @param {Info} info
  6. * @returns {string}
  7. */
  8. export function emphasis(node: Emphasis, _: Parents | undefined, state: State, info: Info): string;
  9. export namespace emphasis {
  10. export { emphasisPeek as peek };
  11. }
  12. import type { Emphasis } from 'mdast';
  13. import type { Parents } from 'mdast';
  14. import type { State } from 'mdast-util-to-markdown';
  15. import type { Info } from 'mdast-util-to-markdown';
  16. /**
  17. * @param {Emphasis} _
  18. * @param {Parents | undefined} _1
  19. * @param {State} state
  20. * @returns {string}
  21. */
  22. declare function emphasisPeek(_: Emphasis, _1: Parents | undefined, state: State): string;
  23. export {};
  24. //# sourceMappingURL=emphasis.d.ts.map