import type { ChartType, PivotConfig, Query } from '@cubejs-client/core';
import { ResultSet } from '@cubejs-client/core';
import { RefObject } from 'react';
import { UIFramework } from '../../types';
import { QueryStatus } from '../PlaygroundQueryBuilder/components/PlaygroundQueryBuilder';
export type QueryLoadResult = {
    resultSet?: ResultSet;
    error?: Error | null;
} & Partial<QueryStatus>;
type ChartRendererProps = {
    queryId: string;
    query: Query;
    queryError: Error | null;
    isFetchingMeta: boolean;
    areQueriesEqual: boolean;
    queryHasMissingMembers: boolean;
    chartType: ChartType;
    pivotConfig?: PivotConfig;
    iframeRef: RefObject<HTMLIFrameElement>;
    framework: UIFramework;
    onRunButtonClick: () => Promise<void>;
};
export default function ChartRenderer({ queryId, areQueriesEqual, isFetchingMeta, iframeRef, framework, queryHasMissingMembers, onRunButtonClick, }: ChartRendererProps): import("react/jsx-runtime").JSX.Element;
export {};
