import * as arrow from 'apache-arrow';
import React, { CSSProperties } from 'react';
type BaseComponentProps = {
    className?: string;
    style?: CSSProperties;
};
export type ColMeta = {
    [key: string]: {
        colIdx: number;
        name: string;
        displayName: string;
        type: string;
    };
};
export type DataTableStyle = {
    minCellSize?: number;
    cellPadding?: number;
    fontSize?: number;
    font?: string;
    optionsButton?: number;
};
export type QueryResult = {
    table: arrow.Table;
    tableDuckDBTypes: Record<string, string>;
};
export type PreviewDataPanelProps = BaseComponentProps & {
    result: QueryResult;
    rowsToCalculatePreview?: number;
    theme?: any;
    setColumnDisplayFormat?: (formats: {
        [key: string]: string;
    }) => void;
    defaultPinnedColumns?: string[];
    dataTableStyle: DataTableStyle;
    onAddResultToMap: (result: QueryResult) => void;
};
export declare const PreviewDataPanel: React.FC<PreviewDataPanelProps>;
export {};
