export declare const useCalculateNodeSize: ({ initialRef, formatToPixels }?: {
    initialRef?: any;
    formatToPixels?: boolean;
}) => {
    ref: any;
    size: {
        width: number | string;
        height: number | string;
    };
};
