container-phrasing.d.ts 946 B

12345678910111213141516171819202122232425
  1. /**
  2. * @typedef {import('../types.js').Handle} Handle
  3. * @typedef {import('../types.js').Info} Info
  4. * @typedef {import('../types.js').PhrasingParents} PhrasingParents
  5. * @typedef {import('../types.js').State} State
  6. */
  7. /**
  8. * Serialize the children of a parent that contains phrasing children.
  9. *
  10. * These children will be joined flush together.
  11. *
  12. * @param {PhrasingParents} parent
  13. * Parent of flow nodes.
  14. * @param {State} state
  15. * Info passed around about the current state.
  16. * @param {Info} info
  17. * Info on where we are in the document we are generating.
  18. * @returns {string}
  19. * Serialized children, joined together.
  20. */
  21. export function containerPhrasing(parent: PhrasingParents, state: State, info: Info): string;
  22. export type Handle = import('../types.js').Handle;
  23. export type Info = import('../types.js').Info;
  24. export type PhrasingParents = import('../types.js').PhrasingParents;
  25. export type State = import('../types.js').State;