import { PluginSimple } from 'markdown-it'; import Token from 'markdown-it/lib/token.mjs'; /** * Forked from https://github.com/markdown-it/markdown-it-footnote/blob/master/index.mjs */ declare const footnote: PluginSimple; interface FootNoteToken extends Token { meta: { id: number; subId: number; label: string; }; } interface FootNoteEnv extends Record { docId?: string; footnotes: { label?: string; refs?: Record; list?: { label?: string; count?: number; content?: string; tokens?: Token[] | null; }[]; }; } export { footnote }; export type { FootNoteEnv, FootNoteToken };