/** * @typedef {object} WrapEnv * @property {string} type * @property {string} content * @property {Array} classes * @property {Record} attributes * @property {string} language */ /** * @example * prism.hooks.add("wrap", LineHighlightWrapPlugin) */ export function LineHighlightWrapPlugin(): (env: WrapEnv) => void; export type WrapEnv = { type: string; content: string; classes: Array; attributes: Record; language: string; };