import type Token from 'markdown-it/lib/token'; export declare const attrsFromEntries: (tok: Token) => { [k: string]: string; }; export type TryCatchReturnType = { success: true; result: R; } | { success: false; error: any; }; export declare function tryCatch(fn: () => R): TryCatchReturnType;