/** * @packageDocumentation * Public plugin entrypoint for eslint-plugin-remark exports and preset wiring. */ import type { ESLint, Linter } from "eslint"; import { type RemarkConfigName as InternalRemarkConfigName } from "./_internal/remark-config-references.js"; import { remarkRules } from "./_internal/rules-registry.js"; /** Public preset key names supported by eslint-plugin-remark. */ export type RemarkConfigName = InternalRemarkConfigName; /** ESLint namespace used for qualified rule ids. */ declare const pluginNamespace: "remark"; /** Public preset config value shape. */ export type RemarkConfig = Linter.Config | readonly Linter.Config[]; /** Public preset registry shape. */ export type RemarkConfigs = Record; /** Qualified rule ID supported by eslint-plugin-remark. */ export type RemarkRuleId = `${typeof pluginNamespace}/${RemarkRuleName}`; /** Unqualified rule name supported by eslint-plugin-remark. */ export type RemarkRuleName = keyof typeof remarkRules; /** ESLint-compatible rule map view of the strongly typed internal rule record. */ declare const eslintPluginRules: NonNullable & typeof remarkRules; /** Fully assembled runtime plugin object exported by this package. */ declare const remarkPlugin: ESLint.Plugin & { configs: RemarkConfigs; meta: { name: string; namespace: string; version: string; }; rules: typeof eslintPluginRules; }; /** Fully assembled public plugin contract. */ export type RemarkPlugin = typeof remarkPlugin; export default remarkPlugin; //# sourceMappingURL=plugin.d.ts.map