container-flow.d.ts 866 B

123456789101112131415161718192021
  1. /**
  2. * @typedef {import('../types.js').FlowParents} FlowParents
  3. * @typedef {import('../types.js').FlowChildren} FlowChildren
  4. * @typedef {import('../types.js').State} State
  5. * @typedef {import('../types.js').TrackFields} TrackFields
  6. */
  7. /**
  8. * @param {FlowParents} parent
  9. * Parent of flow nodes.
  10. * @param {State} state
  11. * Info passed around about the current state.
  12. * @param {TrackFields} info
  13. * Info on where we are in the document we are generating.
  14. * @returns {string}
  15. * Serialized children, joined by (blank) lines.
  16. */
  17. export function containerFlow(parent: FlowParents, state: State, info: TrackFields): string;
  18. export type FlowParents = import('../types.js').FlowParents;
  19. export type FlowChildren = import('../types.js').FlowChildren;
  20. export type State = import('../types.js').State;
  21. export type TrackFields = import('../types.js').TrackFields;