import type { ComponentManifest } from "../manifest/types.js"; export type ComponentDiagnosticSeverity = "error" | "warning"; export type ComponentDiagnosticCode = "SFC_PARSE_ERROR" | "TEMPLATE_PARSE_ERROR" | "TEMPLATE_LANGUAGE_UNSUPPORTED" | "COMPONENT_IMPORT_NOT_ALLOWED" | "COMPONENT_IMPORT_PATH_UNVERIFIABLE" | "COMPONENT_NAMESPACE_IMPORT_UNVERIFIABLE" | "COMPONENT_BINDING_UNVERIFIABLE" | "COMPONENT_MEMBER_UNVERIFIABLE" | "COMPONENT_MISSING_REQUIRED_PROP" | "COMPONENT_UNKNOWN_PROP" | "COMPONENT_UNKNOWN_EVENT" | "COMPONENT_UNKNOWN_MODEL" | "COMPONENT_UNKNOWN_SLOT" | "COMPONENT_INVALID_ENUM_VALUE" | "COMPONENT_INVALID_STATIC_TYPE" | "COMPONENT_DYNAMIC_BIND_UNVERIFIABLE" | "COMPONENT_DYNAMIC_EVENT_UNVERIFIABLE" | "COMPONENT_DYNAMIC_SLOT_UNVERIFIABLE"; export interface ComponentDiagnostic { code: ComponentDiagnosticCode; file: string; /** One-based line number in the original SFC. */ line: number; /** One-based column number in the original SFC. */ column: number; severity: ComponentDiagnosticSeverity; message: string; evidence: Record; } export interface ValidateVueSfcInput { source: string; filename: string; manifest: ComponentManifest; } export interface SfcValidationSummary { errors: number; warnings: number; } export interface SfcValidationResult { valid: boolean; diagnostics: ComponentDiagnostic[]; summary: SfcValidationSummary; } //# sourceMappingURL=types.d.ts.map