export type CodeActionKind = 'quickfix' | 'refactor' | 'source';
export interface TextRange {
    readonly start: number;
    readonly end: number;
}
export interface TextEdit {
    readonly type: 'insert' | 'replace' | 'delete';
    readonly range?: TextRange;
    readonly text?: string;
}
export interface FixCommand {
    readonly name: string;
    readonly arguments: readonly unknown[];
}
export interface CodeFix {
    readonly code: string;
    readonly title: string;
    readonly kind: CodeActionKind;
    readonly description?: string;
    readonly edit?: TextEdit;
    readonly command?: FixCommand;
    readonly priority?: number;
    readonly isPreferred?: boolean;
}
export interface FixableError {
    readonly code: string;
    readonly message: string;
    readonly severity: 'error' | 'warning' | 'info';
    readonly fixes?: readonly CodeFix[];
}
export interface DiagnosticWithFixes {
    readonly diagnosticIndex: number;
    readonly fixes: readonly CodeFix[];
}
export interface DiagnosticResponseWithFixes {
    readonly diagnostics: readonly unknown[];
    readonly codeActions?: readonly DiagnosticWithFixes[];
}
//# sourceMappingURL=code-fix.d.ts.map