/** * 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: no-redundant-roles * Enforce that explicit roles don't repeat implicit roles * * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-redundant-roles.md */ import type { TSESLint } from '@interlace/eslint-devkit'; export interface Options { nav?: string[]; ol?: string[]; ul?: string[]; button?: string[]; img?: string[]; [key: string]: string[] | undefined; } export type RuleOptions = [Options?]; export declare const noRedundantRoles: TSESLint.RuleModule<"redundantRole", RuleOptions, unknown, TSESLint.RuleListener> & { name: string; };