import { TypecheckOptions } from "./typecheck.cjs"; export type TypeScriptBackend = "legacy" | "native"; export type CompatibleTypecheckOptions = TypecheckOptions; export interface CompatibleDiagnostic { category: number; code: number; fileName?: string; length?: number; messageText: string; start?: number; startPosition?: { line: number; character: number; }; } export interface CompatibleTypecheckResult { backend: TypeScriptBackend; diagnostics: CompatibleDiagnostic[]; formattedDiagnostics: string; typescriptVersion: string; } export declare function typecheckSolutionProjectsCompatible(options: CompatibleTypecheckOptions): Promise; export declare function resolveTypeScriptBackend(version: string): TypeScriptBackend;