export interface YcmdDiagnosticsParams {
    filepath: string;
    fileContents?: string;
    line?: number;
    column?: number;
    searchString?: string;
    matchType?: "exact" | "prefix" | "contains";
}
export interface Diagnostic {
    kind: "ERROR" | "WARNING" | "INFO";
    text: string;
    location: {
        line: number;
        column: number;
    };
    location_extent?: {
        start: {
            line: number;
            column: number;
        };
        end: {
            line: number;
            column: number;
        };
    };
    ranges?: {
        start: {
            line: number;
            column: number;
        };
        end: {
            line: number;
            column: number;
        };
    }[];
    fixit_available?: boolean;
}
export declare function ycmdDiagnostics(params: YcmdDiagnosticsParams): Promise<{
    success: boolean;
    diagnostics?: Diagnostic[];
    message: string;
}>;
