import type { ESLint, Linter } from "eslint"; import { withCustomMessages } from "./customMessages.js"; import { PlainTextLanguage } from "./plainTextLanguage.js"; import type { RulesConfig } from "@eslint/core"; interface ObsidianmdPlugin { meta: { name: string; version: string; }; languages: { "plain-text": typeof PlainTextLanguage; }; rules: NonNullable; configs: { recommended: Linter.Config[]; recommendedWithLocalesEn: Linter.Config[]; }; ruleConfigs: { recommended: RulesConfig; recommendedTypeChecked: RulesConfig; }; withCustomMessages: typeof withCustomMessages; } declare const plugin: ObsidianmdPlugin; export default plugin; export type { CustomMessages, WrappableRule } from "./customMessages.js";