/**
 * Result of rectangular chart layout calculation
 */
export interface RectangularChartDimensions {
    /** Chart width calculated from height and aspect ratio */
    width: number;
    /** Chart height */
    height: number;
    /** Aspect ratio (width / height) */
    aspectRatio: number;
    /** Chart.js layout padding */
    padding: {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    /** Whether chart is too small to show labels (height < 192px) */
    isTooSmall: boolean;
}
/**
 * Calculate dimensions and layout for rectangular charts (line, bar, etc.)
 *
 * Unlike circular charts that need complex outer label calculations,
 * rectangular charts use a simple approach:
 * - Width is calculated from height × aspect ratio
 * - Padding is either zero (below threshold) or standard canvas padding (above threshold)
 * - No outer labels or label width measurements needed
 *
 * This helper is used by line graphs and other rectangular chart types to maintain
 * consistent sizing behavior without the complexity of circular chart calculations.
 *
 * @param height - Fixed height in pixels
 * @param aspectRatio - Width to height ratio (default: 1.5 for line graphs)
 * @returns Dimensions and padding for the chart
 *
 * @example
 * // Line graph with default 1.5:1 aspect ratio
 * const dimensions = calculateRectangularChartLayout(320);
 * // Result: width=480, height=320, aspectRatio=1.5, padding=32px all sides
 *
 * @example
 * // Wide chart with 2:1 aspect ratio
 * const dimensions = calculateRectangularChartLayout(256, 2.0);
 * // Result: width=512, height=256, aspectRatio=2.0
 *
 * @example
 * // Small chart below threshold (edge-to-edge rendering)
 * const dimensions = calculateRectangularChartLayout(48);
 * // Result: width=72, height=48, padding=0px all sides, isTooSmall=true
 */
export declare function calculateRectangularChartLayout(height: number, aspectRatio?: number): RectangularChartDimensions;
//# sourceMappingURL=rectangular-chart-layout.d.ts.map