import { CodeAction, CodeActionParams, Diagnostic } from "vscode-languageserver/node";
import { TextDocument } from "vscode-languageserver-textdocument";
import { Config } from "@herb-tools/config";
import { Project } from "./project";
export declare class CodeActionService {
    private project;
    private config?;
    private linter;
    constructor(project: Project, config?: Config);
    setConfig(config: Config): void;
    createCodeActions(uri: string, diagnostics: Diagnostic[], documentText: string): CodeAction[];
    autofixCodeActions(params: CodeActionParams, document: TextDocument): CodeAction[];
    private createDisableLineAction;
    private createDisableAllAction;
    private createDisableCommentEdit;
    private createDisableInConfigAction;
    private createConfigDisableEdit;
    private createDocumentEdit;
    private offenseToRange;
    private rangesEqual;
    private isInRange;
}
