import * as ts from 'typescript/lib/tsserverlibrary'; import { TailwindValidator } from '../infrastructure/TailwindValidator'; /** * Service that provides code actions (quick fixes) for Tailwind CSS validation errors * * Supported quick fixes: * - "Remove invalid class" - Removes the invalid class from the className * - "Did you mean 'X'?" - Suggests similar valid classes as replacements */ export declare class CodeActionService { private readonly validator; constructor(validator: TailwindValidator); /** * Get the supported code fix error codes */ getSupportedErrorCodes(): number[]; /** * Get code actions for a given position in a file * This is called by the TypeScript Language Service when the user requests quick fixes */ getCodeActions(typescript: typeof ts, fileName: string, start: number, end: number, diagnostics: ts.Diagnostic[], sourceFile: ts.SourceFile): ts.CodeFixAction[]; /** * Create a code action to remove an invalid class */ private createRemoveClassAction; /** * Create a code action to replace an invalid class with a suggested valid class */ private createReplaceClassAction; /** * Check if two ranges overlap */ private rangesOverlap; } //# sourceMappingURL=CodeActionService.d.ts.map