import { Rule, ESLint, Linter } from 'eslint'; import { JSONSchema4 } from 'json-schema'; interface RuleModule extends Rule.RuleModule { meta: RuleMetaData; create(context: Rule.RuleContext): Rule.RuleListener; } interface RuleMetaData { docs: { description: string; categories: ("recommended" | "standard")[] | null; url: string; ruleId: string; ruleName: string; default?: "error" | "warn"; }; messages: { [messageId: string]: string; }; fixable?: "code" | "whitespace"; hasSuggestions?: boolean; schema: JSONSchema4 | JSONSchema4[]; deprecated?: boolean; replacedBy?: string[]; type: "problem" | "suggestion" | "layout"; } declare const plugins$1: string[]; declare const rules$2: { "math/no-static-infinity-calculations": string; "math/no-static-nan-calculations": string; "math/prefer-math-cbrt": string; "math/prefer-math-e": string; "math/prefer-math-hypot": string; "math/prefer-math-ln10": string; "math/prefer-math-ln2": string; "math/prefer-math-log10": string; "math/prefer-math-log10e": string; "math/prefer-math-log2": string; "math/prefer-math-log2e": string; "math/prefer-math-pi": string; "math/prefer-math-sqrt": string; "math/prefer-math-sqrt1-2": string; "math/prefer-math-sqrt2": string; "math/prefer-math-trunc": string; "math/prefer-number-epsilon": string; "math/prefer-number-is-finite": string; "math/prefer-number-is-integer": string; "math/prefer-number-is-nan": string; "math/prefer-number-is-safe-integer": string; "math/prefer-number-max-safe-integer": string; "math/prefer-number-max-value": string; "math/prefer-number-min-safe-integer": string; "math/prefer-number-min-value": string; }; declare namespace recommended { export { plugins$1 as plugins, rules$2 as rules }; } declare const plugins: { readonly math: ESLint.Plugin; }; declare const rules$1: Linter.RulesRecord; declare const flatRecommended_plugins: typeof plugins; declare namespace flatRecommended { export { flatRecommended_plugins as plugins, rules$1 as rules }; } declare const name: "eslint-plugin-math"; declare const version: "0.13.1"; declare const meta_name: typeof name; declare const meta_version: typeof version; declare namespace meta { export { meta_name as name, meta_version as version }; } declare const configs: { "recommended-legacy": typeof recommended; recommended: typeof flatRecommended; }; declare const rules: { [key: string]: RuleModule; }; declare const _default: { meta: typeof meta; configs: { "recommended-legacy": typeof recommended; recommended: typeof flatRecommended; }; rules: { [key: string]: RuleModule; }; }; export { configs, _default as default, meta, rules };