#pragma once

namespace dragonx {
namespace ui {

float ComputeConsoleInputHeight(float frameHeightWithSpacing,
                                float itemSpacingY,
                                float spacingSm,
                                float spacingXs,
                                float cursorOffset);
float ComputeConsoleOutputHeight(float availableHeight,
                                 float inputHeight,
                                 float minHeight,
                                 float minHeightRatio);
float ClampConsoleWrapWidth(float contentWidth, float paddingX);

} // namespace ui
} // namespace dragonx
