/** * Copyright (c) 2025 Ofri Peretz * Licensed under the MIT License. Use of this source code is governed by the * MIT license that can be found in the LICENSE file. */ /** * ESLint Rule: label-has-associated-control * Enforce that labels have accessible controls * * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md */ import type { TSESLint } from '@interlace/eslint-devkit'; type Options = { labelComponents?: string[]; labelAttributes?: string[]; controlComponents?: string[]; assert?: 'htmlFor' | 'nesting' | 'both' | 'either'; depth?: number; }; type RuleOptions = [Options?]; export declare const labelHasAssociatedControl: TSESLint.RuleModule<"missingControl", RuleOptions, unknown, TSESLint.RuleListener> & { name: string; }; export {};