import type { Rule } from 'eslint'; import type { FromSchema, JSONSchema } from 'json-schema-to-ts'; import type { LintRule as BaseLintRule, LintRuleMeta as BaseLintRuleMeta } from '@atlaskit/eslint-utils/create-rule'; export interface LintRule extends Omit { meta: LintRuleMeta; create(context: Rule.RuleContext, config: Config): Rule.RuleListener; /** * Unsure why the eslint typings include this when the docs * say the schema should be in meta. */ schema?: never; } export interface LintRuleMeta extends Omit { schema: Schema; } export declare const createLintRuleWithTypedConfig: >(rule: LintRule) => Rule.RuleModule;