/** * 响应式尺寸 Hook * * 用于计算图表的响应式宽度和高度,并监听窗口大小变化。 * 在移动端(宽度 <= 768px)时自动调整为全宽和自适应高度。 * * @param {number | string} width - 图表宽度,默认600px * @param {number | string} height - 图表高度,默认400px * @returns {object} 包含响应式尺寸和移动端标识的对象 * * @example * ```typescript * const { responsiveWidth, responsiveHeight, isMobile } = useResponsiveSize(800, 400); * ``` * * @since 1.0.0 */ export declare const useResponsiveSize: (width?: number | string, height?: number | string) => { responsiveWidth: string | number; responsiveHeight: string | number; isMobile: boolean; windowWidth: number; };