23 lines
641 B
TypeScript
23 lines
641 B
TypeScript
/**
|
|
* @typedef {import('mdast').Paragraph} Paragraph
|
|
* @typedef {import('../types.js').Parent} Parent
|
|
* @typedef {import('../types.js').State} State
|
|
* @typedef {import('../types.js').Info} Info
|
|
*/
|
|
/**
|
|
* @param {Paragraph} node
|
|
* @param {Parent | undefined} _
|
|
* @param {State} state
|
|
* @param {Info} info
|
|
* @returns {string}
|
|
*/
|
|
export function paragraph(
|
|
node: Paragraph,
|
|
_: Parent | undefined,
|
|
state: State,
|
|
info: Info
|
|
): string
|
|
export type Paragraph = import('mdast').Paragraph
|
|
export type Parent = import('../types.js').Parent
|
|
export type State = import('../types.js').State
|
|
export type Info = import('../types.js').Info
|