import React from 'react';
export declare type StyledTableColumns<T> = {
    key: string;
    label: string | JSX.Element;
    render?: (item: T) => JSX.Element;
    onClick?: (val: string | number | boolean | T) => void | Promise<void>;
    width?: string;
    className?: string;
};
export declare enum TableActionName {
    Remove = "remove",
    Edit = "edit2"
}
declare type StyledTableProps<T> = {
    columns: StyledTableColumns<T>[];
    data: T[];
    rowActions?: {
        id: TableActionName;
        onClick: (item: T) => void;
    }[];
    preTableRow?: JSX.Element;
    tableWidth?: string;
    styles?: {
        row: React.CSSProperties;
    };
    minWidth?: string;
    tableBottomContent?: JSX.Element;
    scrollHeight?: string;
    disabled?: boolean;
    emptyContent?: JSX.Element;
};
export declare const StyledTable: <T>({ columns, data, rowActions, disabled, emptyContent, preTableRow, tableWidth, styles, minWidth, tableBottomContent, scrollHeight }: StyledTableProps<T>) => JSX.Element;
export {};
