emphasis.d.ts 707 B

1234567891011121314151617181920212223
  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. export type Emphasis = import('mdast').Emphasis;
  13. export type Parents = import('mdast').Parents;
  14. export type Info = import('../types.js').Info;
  15. export type State = import('../types.js').State;
  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 {};