/// <reference path="../src/base-types.d.ts" />
import { ChartType, Meta, Query, ResultSet } from '@cubejs-client/core';
import { Component, FunctionComponent } from 'react';
import { RouteComponentProps } from 'react-router-dom';
type UnsupportedPlaceholder = FunctionComponent<{
    framework: string;
}>;
type FrameworkDescriptor = {
    id: string;
    title: string;
    docsLink?: string;
    placeholder?: UnsupportedPlaceholder;
    scaffoldingSupported?: boolean;
};
export declare const frameworks: FrameworkDescriptor[];
type ChartContainerProps = {
    query: Query;
    meta: Meta;
    hideActions: boolean;
    chartType: ChartType;
    isGraphQLSupported: boolean;
    error?: Error;
    resultSet?: ResultSet;
    [k: string]: any;
};
type ChartContainerState = {
    activeTab: string;
    sql: {
        loading: boolean;
        value?: string;
    };
    [k: string]: any;
};
declare class ChartContainer extends Component<ChartContainerProps & RouteComponentProps, ChartContainerState> {
    static defaultProps: {
        query: {};
        hideActions: boolean;
    };
    static getDerivedStateFromProps(props: any, state: any): any;
    constructor(props: any);
    render(): any;
}
declare const _default: import("react").ComponentClass<Pick<ChartContainerProps & RouteComponentProps<{}, import("react-router").StaticContext, unknown>, string | number> & {
    wrappedComponentRef?: import("react").Ref<ChartContainer> | undefined;
}, any> & import("react-router").WithRouterStatics<typeof ChartContainer>;
export default _default;
