import { TreeNode } from '../../spec/parser';
import { MeasureTextFunction } from '../../text';
import { Size } from '../util/geometry/types';
export declare const LEAF_HEIGHT: number;
export declare const DELIMITER_WIDTH: number;
export declare const DELIMITER_HEIGHT: number;
export declare const COMMA_WIDTH: number;
export declare const COLON_WIDTH: number;
export declare const SPACE_WIDTH: number;
export declare const CONTAINER_ROW_LEFT_MARGIN: number;
export declare const CONTAINER_ROW_RIGHT_MARGIN: number;
export declare const CONTAINER_COLUMN_LEFT_MARGIN: number;
export declare const CONTAINER_COLUMN_RIGHT_MARGIN: number;
export declare const MIN_WIDTH = 6;
export declare const MAX_WIDTH = 180;
export declare const MAX_HEIGHT = 180;
export declare function measureSpecialCharacters(value: string, fontSize: number, measureText: MeasureTextFunction): {
    count: number;
    width: number;
    height: number;
};
export declare function getLeafWidth(value: string, fontSize: number, measureText: MeasureTextFunction): number;
export declare const childrenOverflow: (data: TreeNode, fontSize: number, measureText: MeasureTextFunction) => boolean;
export declare function getDatumWidth(data: TreeNode, fontSize: number, measureText: MeasureTextFunction): number;
export declare function getLeafHeight(value: string, fontSize: number, measureText: MeasureTextFunction): number;
export declare function getDatumHeight(data: TreeNode, fontSize: number, measureText: MeasureTextFunction): number;
export declare function getDatumSize(data: TreeNode, fontSize: number, measureText: MeasureTextFunction): Size;
