import * as _$_eslint_core0 from "@eslint/core"; import { RuleDefinition } from "@eslint/core"; import { ESLint, Linter } from "eslint"; //#region src/rule-types.d.ts declare module 'eslint' { namespace Linter { interface RulesRecord extends RuleOptions {} } } declare module '@eslint/core' { interface RulesConfig extends RuleOptions { [key: string]: RuleConfig; } } interface RuleOptions { /** * disallow dead external link urls * @see https://ota-meshi.github.io/eslint-plugin-markdown-links/rules/no-dead-urls.html */ 'markdown-links/no-dead-urls'?: Linter.RuleEntry; /** * disallow missing fragment identifiers in same-file Markdown links * @see https://ota-meshi.github.io/eslint-plugin-markdown-links/rules/no-missing-fragments.html */ 'markdown-links/no-missing-fragments'?: Linter.RuleEntry; /** * disallow missing local file paths in Markdown links and images * @see https://ota-meshi.github.io/eslint-plugin-markdown-links/rules/no-missing-path.html */ 'markdown-links/no-missing-path'?: Linter.RuleEntry; /** * disallow redundant self-destination links * @see https://ota-meshi.github.io/eslint-plugin-markdown-links/rules/no-self-destination.html */ 'markdown-links/no-self-destination'?: Linter.RuleEntry<[]>; } type MarkdownLinksNoDeadUrls = [] | [{ ignoreLocalhost?: boolean; ignoreUrls?: string[]; allowedAnchors?: { [k: string]: string; }; checkAnchor?: boolean; maxRedirects?: number; maxRetries?: number; timeout?: number; }]; type MarkdownLinksNoMissingFragments = [] | [{ ignoreCase?: boolean; slugify?: ("github" | "mdit-vue"); }]; type MarkdownLinksNoMissingPath = [] | [{ basePath?: string; ignorePaths?: string[]; checkAnchor?: boolean; allowedAnchors?: { [k: string]: string; }; anchorOption?: { ignoreCase?: boolean; slugify?: ("github" | "mdit-vue"); }; }]; declare namespace all_d_exports { export { files$1 as files, language$1 as language, languageOptions$1 as languageOptions, name$2 as name, plugins$1 as plugins, rules$2 as rules }; } declare const name$2 = "markdown-links/all"; declare const files$1: string[]; declare const language$1 = "markdown/gfm"; declare const languageOptions$1: { frontmatter: string; }; declare const plugins$1: { markdown: ESLint.Plugin; readonly "markdown-links": ESLint.Plugin; }; declare const rules$2: Linter.RulesRecord; declare namespace recommended_d_exports { export { files, language, languageOptions, name$1 as name, plugins, rules$1 as rules }; } declare const name$1 = "markdown-links/recommended"; declare const files: string[]; declare const language = "markdown/gfm"; declare const languageOptions: { frontmatter: string; }; declare const plugins: { markdown: ESLint.Plugin; readonly "markdown-links": ESLint.Plugin; }; declare const rules$1: Linter.RulesRecord; declare namespace meta_d_exports { export { name, version }; } declare const name: string; declare const version: string; //#endregion //#region src/index.d.ts declare const configs: { all: typeof all_d_exports; recommended: typeof recommended_d_exports; }; declare const rules: Record; declare const _default: { meta: typeof meta_d_exports; configs: { all: typeof all_d_exports; recommended: typeof recommended_d_exports; }; rules: Record>; }; //#endregion export { RuleOptions, configs, _default as default, meta_d_exports as meta, rules };