import type { RuleConfig } from '../rule-config'; /** * Option. */ export interface LabelHasForOption { components?: string[]; required?: | ('nesting' | 'id') | { /** * @minItems 0 */ some: ('nesting' | 'id')[]; [k: string]: any; } | { /** * @minItems 0 */ every: ('nesting' | 'id')[]; [k: string]: any; }; allowChildren?: boolean; [k: string]: any; } /** * Options. */ export type LabelHasForOptions = [LabelHasForOption?]; /** * Enforce that `