/**
 * TypeScript diagnostics collection and conversion
 */
import * as ts from "typescript";
import { Diagnostic, DiagnosticsCollector } from "../types/diagnostic.js";
/**
 * Collect all TypeScript diagnostics from a program
 */
export declare const collectTsDiagnostics: (program: ts.Program) => DiagnosticsCollector;
/**
 * Convert TypeScript diagnostic to Tsonic diagnostic
 */
export declare const convertTsDiagnostic: (tsDiag: ts.Diagnostic) => Diagnostic | null;
/**
 * Get source location information from TypeScript source file
 */
export declare const getSourceLocation: (file: ts.SourceFile, start: number, length: number) => {
    readonly file: string;
    readonly line: number;
    readonly column: number;
    readonly length: number;
};
//# sourceMappingURL=diagnostics.d.ts.map