import { type ComponentType } from 'react';
/**
 * React 19 compatibility wrapper for Nivo responsive components.
 *
 * @nivo components can be received as module objects instead of functions due to
 * CommonJS/ESM interop issues. This wrapper detects and unwraps such objects,
 * then creates a functional component wrapper.
 *
 * The unwrapping process checks for:
 * - .default export (CommonJS/ESM default export)
 * - .ResponsiveWrapper property (Nivo's internal wrapper)
 * - Direct function component
 *
 * @param Component - The Nivo responsive component (e.g., ResponsiveLine, ResponsivePie)
 * @param displayName - Display name for debugging in React DevTools
 * @returns A React 19 compatible functional component
 */
export declare function wrapNivoResponsiveComponent<T extends ComponentType<any>>(Component: T, displayName?: string): T;
