Files
NapCatQQ/.pnpm-store/v3/files/ee/721aeda70df0f2a2271defbfa12dacbdec5dcaa612dfbb94e9fd538c865d6ec760a07b2375260e52d825c13a9be1d03a577b1add8a67f4dae68f20c343a32d
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
560 B
Plaintext

/**
* Return the content of a reference without definition as plain text.
*
* @param {State} state
* Info passed around.
* @param {Extract<Nodes, Reference>} node
* Reference node (image, link).
* @returns {Array<ElementContent>}
* hast content.
*/
export function revert(state: State, node: Extract<Nodes, Reference>): Array<ElementContent>;
export type ElementContent = import("hast").ElementContent;
export type Nodes = import("mdast").Nodes;
export type Reference = import("mdast").Reference;
export type State = import("./state.js").State;