interface FromMarkdownOptions { permalinks?: string[]; pageResolver?: (name: string) => string[]; newClassName?: string; wikiLinkClassName?: string; hrefTemplate?: (permalink: string) => string; } declare function fromMarkdown(opts?: FromMarkdownOptions): { enter: { wikiLink: (this: any, token: any) => void; }; exit: { wikiLinkTarget: (this: any, token: any) => void; wikiLinkAlias: (this: any, token: any) => void; wikiLink: (this: any, token: any) => void; }; }; export { fromMarkdown };