/// <reference path="../../../src/base-types.d.ts" />
import { ChartType, Query } from '@cubejs-client/core';
import { Tabs } from 'antd';
import { ReactNode } from 'react';
export declare const StyledTabs: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("antd").TabsProps, never>> & string & Omit<typeof Tabs, keyof import("react").Component<any, {}, any>>;
type QueryTab = {
    id: string;
    query: Query;
    chartType?: ChartType;
    name?: string;
};
export type QueryTabsProps = {
    query: Query | null;
    children: (tab: QueryTab, saveTab: (tab: Omit<QueryTab, 'id'>) => void) => ReactNode;
    sidebar?: ReactNode | null;
    onTabChange?: (tab: QueryTab) => void;
};
export declare function QueryTabs({ query, children, sidebar, onTabChange, }: QueryTabsProps): import("react/jsx-runtime").JSX.Element | null;
export {};
