import { Field, NestField } from '../../data_tree';
import { FieldHeaderRangeMap } from '../types';
type LayoutEntry = {
    field: Field;
    width: number | null;
    height: number | null;
    absoluteColumnRange: [number, number];
    relativeColumnRange: [number, number];
    depth: number;
};
export type TableLayout = {
    fields: Record<string, LayoutEntry>;
    fieldHeaderRangeMap: FieldHeaderRangeMap;
    fieldLayout: (field: Field) => LayoutEntry;
    totalHeaderSize: number;
    maxDepth: number;
};
export declare function getTableLayout(rootField: NestField): TableLayout;
export {};
