import type { Datum } from "./datumTypes";
export interface Diagnosis {
    severity: "error" | "warning";
    code: string;
    message: string;
    fix: string;
}
export interface DiagnosisResult {
    ok: boolean;
    diagnoses: Diagnosis[];
}
/**
 * Run anti-pattern diagnostics on a Semiotic chart configuration.
 *
 * Returns actionable diagnoses with severity, code, message, and fix instruction.
 * Runs validateProps internally — validation errors are included as diagnoses.
 */
export declare function diagnoseConfig(componentName: string, props: Datum): DiagnosisResult;
