/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { GridLayoutV2 } from '@nocobase/flow-engine';
import React from 'react';
interface DragOverlayRect {
    readonly top: number;
    readonly left: number;
    readonly width: number;
    readonly height: number;
    readonly type: 'column' | 'column-edge' | 'row-gap' | 'empty-row' | 'empty-column' | 'item-edge';
}
interface GridProps {
    readonly rows?: Record<string, string[][]>;
    readonly sizes?: Record<string, number[]>;
    readonly layout?: GridLayoutV2;
    readonly renderItem: (uid: string) => React.ReactNode;
    readonly rowGap?: number;
    readonly colGap?: number;
    readonly dragOverlayRect?: DragOverlayRect | null;
}
export declare function Grid({ rows, sizes, layout, renderItem, rowGap, colGap, dragOverlayRect, }: GridProps): React.JSX.Element;
export {};
