import type { Diagnostic, SourceLocation } from "./types.js"; /** Formats a compiler diagnostic with filename, location, code, message, and suggestion details. */ export declare function formatDiagnostic(filename: string, diagnostic: Diagnostic): string; export declare function unsupportedComponentReferenceDiagnostic(name: string, loc?: SourceLocation): Diagnostic; export declare function unsupportedJsxNamespaceTagDiagnostic(name: string, loc?: SourceLocation): Diagnostic; export declare function unsupportedServerEventHandlerDiagnostic(name: string, loc?: SourceLocation): Diagnostic; export declare function unsupportedServerDynamicAttributeDiagnostic(name: string, loc?: SourceLocation): Diagnostic; export declare function unsupportedRefAttributeDiagnostic(loc?: SourceLocation): Diagnostic; export declare function invalidDomRefAttributeDiagnostic(loc?: SourceLocation): Diagnostic; export declare function unsupportedComponentDomRefDiagnostic(loc?: SourceLocation): Diagnostic; export declare function unsupportedCompatServerTargetDiagnostic(): Diagnostic; export declare function unsupportedClientAsyncComponentDiagnostic(name: string): Diagnostic; export declare function unsupportedAwaitInnerComponentDiagnostic(name: string, loc?: SourceLocation): Diagnostic; export declare function unsupportedNestedAwaitDiagnostic(loc?: SourceLocation): Diagnostic; export declare function unserializableAwaitValueDiagnostic(reason: string, loc?: SourceLocation): Diagnostic; export declare function unsupportedBodyStatementJsxDiagnostic(loc?: SourceLocation): Diagnostic; export declare function unsupportedTopLevelJsxInitializerDiagnostic(loc?: SourceLocation): Diagnostic; export declare function unsupportedJsxSpreadChildDiagnostic(loc?: SourceLocation): Diagnostic; export declare function invalidJsxExpressionDiagnostic(loc?: SourceLocation, context?: "text" | "attribute" | "unknown"): Diagnostic; //# sourceMappingURL=diagnostics.d.ts.map