import * as React from "react";
interface SafeRenderProps {
    componentName: string;
    width: number;
    height: number;
    chartProps?: Record<string, unknown>;
    children: React.ReactNode;
}
/**
 * Wraps a chart's rendered output with an error boundary.
 * If the chart throws during render, runs diagnoseConfig to produce
 * actionable fix suggestions alongside the error message.
 */
export declare function SafeRender({ componentName, width, height, chartProps, children }: SafeRenderProps): import("react/jsx-runtime").JSX.Element;
/**
 * Renders a "No data available" placeholder when data is empty.
 * Returns null when data is present or emptyContent is `false`.
 */
export declare function renderEmptyState(data: any[] | undefined | null, width: number, height: number, emptyContent?: React.ReactNode | false): React.ReactElement | null;
/**
 * Renders a shimmer/skeleton loading placeholder.
 * Returns null when loading is false.
 */
export declare function renderLoadingState(loading: boolean | undefined, width: number, height: number): React.ReactElement | null;
/** Warn if a string accessor isn't found in the first data element */
export declare function warnMissingField(componentName: string, data: any[] | undefined, accessorName: string, accessorValue: any): void;
/** Warn if data looks like the wrong shape for this chart type */
export declare function warnDataShape(componentName: string, data: any[] | undefined, expectedKeys: string[], hint: string): void;
export {};
