import { Column, GridOption, SlickgridReactInstance } from "slickgrid-react";
import { SlickgridReactProps } from "slickgrid-react/dist/types/components/slickgridReactProps";
export declare type Sort = "asc" | "desc";
export interface DataGridProps {
    data?: Record<string, any>[];
    loading?: boolean;
    gridId?: string;
    columns?: Column[];
    height?: string | number;
    width?: string | number;
    gridOptions?: GridOption;
    onSort?: (id: string, type: Sort) => void;
    onClick?: SlickgridReactProps["onClick"];
    onDblClick?: SlickgridReactProps["onDblClick"];
    onLoad?: (grid: SlickgridReactInstance | null) => void;
}
