import { ComponentType } from 'react'; import DataScale from '../ScaleData'; import { IBlockData } from '../BlockData'; import { IBlockType } from '../BlockType'; import { OverlayContentProps } from '../Overlay'; export declare const defaultProps: Readonly<{ autoActivate: boolean; multiTypeSelect: boolean; labelFrequency: number; infiniteScroll: boolean[]; }>; export declare enum QueryStatus { IDLE = "idle", PROGRESS = "progress" } export declare type UxGridState = { scrollTop?: number; columnNames: string[]; scale: DataScale; mouseDownIx: number | null; mouseEnterIx: number | null; colWidth: number; details: IBlockData | null; [key: string]: boolean | string[] | IBlockData | IBlockData[] | DataScale | number | undefined | null; }; export declare type BlockTypeSelectState = { selected: string[]; }; export declare type BlockTypeSelectProps = { withBlockTypeManagement?: boolean; blockTypes: IBlockType[]; AddBlockTypeComponent?: ComponentType; removeBlockType?(resource: T): void; }; export declare type UxGridProps = { queryStatus: QueryStatus; columns: string[] | Function[]; selectedTypes: IBlockType[]; blockTypes: IBlockType[]; scale: DataScale; initialBlocks?: any[][]; className?: string; DetailsView: ComponentType>; dataToBlock: (data: any) => IBlockData; blockToData: (block: IBlockData) => any; labelConversion: (ix: number) => string; handleSave(rawBlocks: any[][]): Promise; } & typeof defaultProps;