import type { AssertionConfig } from './assertions'; export type RuleSeverity = 'off' | 'info' | 'warn' | 'error'; export type RuleScope = 'all' | 'heading' | 'sentence' | 'paragraph' | 'code' | 'default' | 'raw' | string | string[]; export interface BaseRule { severity: RuleSeverity; message?: string; tags?: string[]; description?: string; link?: string; scope?: RuleScope; appliesTo?: string[]; excludes?: string[]; exceptions?: { files?: string[]; lines?: string[]; }; fix?: boolean; assertions: Record; } export interface NormalizedRule { name: string; shortName: string; severity: RuleSeverity; message?: string; tags?: string[]; description?: string; link?: string; scope?: RuleScope; appliesTo?: string[]; excludes?: string[]; exceptions?: { files?: string[]; lines?: string[]; }; fix?: boolean; assertions: Record; } export interface RecheckConfig { [key: string]: BaseRule; } //# sourceMappingURL=rules.d.ts.map