import { PreAggregationType, Query, TransformedQuery } from '@cubejs-client/core';
import { SchemaChangeProps, VizState } from '@cubejs-client/react';
import React from 'react';
import { UIFramework } from '../../../types';
export declare const frameworkChartLibraries: Record<UIFramework, Array<{
    value: string;
    title: string;
}>>;
export type PlaygroundQueryBuilderProps = {
    apiUrl: string;
    cubejsToken: string;
    queryId: string;
    defaultQuery?: Query;
    schemaVersion?: number;
    initialVizState?: VizState;
    extra?: React.FC<any>;
    onVizStateChanged?: (vizState: VizState) => void;
    onSchemaChange?: (props: SchemaChangeProps) => void;
};
export type QueryStatus = {
    timeElapsed: number;
    isAggregated: boolean;
    external: boolean | null;
    extDbType: string;
    preAggregationType?: PreAggregationType;
    transformedQuery?: TransformedQuery;
};
export declare function PlaygroundQueryBuilder({ apiUrl, cubejsToken, defaultQuery, queryId, schemaVersion, initialVizState, extra: Extra, onSchemaChange, onVizStateChanged, }: PlaygroundQueryBuilderProps): import("react/jsx-runtime").JSX.Element | null;
