import type { CodeAction } from 'vscode-languageserver-protocol'; import type { RuleCodeActions } from './types.js'; /** * A collection of code actions that apply to specific rules. Allows adding * actions and retrieving them grouped by the rules to which they apply and * sorted by the priority of the rule. * * Actions are prioritized in the order: * * 1. Fix all instances of a rule * 2. Disable rule actions * 3. Show documentation actions */ export declare class RuleCodeActionsCollection implements Iterable { #private; /** * Gets the code actions for a rule. */ get(ruleId: string): RuleCodeActions; /** * Iterates over the code actions, grouped by rule and sorted by the * priority of the rule. */ [Symbol.iterator](): IterableIterator; /** * Gets the number of code actions. */ get size(): number; }