import type { Dictionary } from 'lodash'; import type { Plugin, Rule } from 'markdownlint'; import type { MarkdownItPreprocessorCb } from '../typings'; import type { LintConfig, PluginOptions } from '.'; export interface Options { input: string; plugins?: Function[] | Plugin; preprocessors?: MarkdownItPreprocessorCb[]; pluginOptions: PluginOptions; defaultLintConfig?: LintConfig; lintConfig?: LintConfig; customLintRules?: Rule[]; sourceMap?: Dictionary; /** @default true */ enableMarkdownAttrs?: boolean; }