/** * An element's laid-out size, ignoring CSS transforms, so a chart drawn into a scaled-down frame * (a thumbnail, a zoomed preview) still lays out at its own size instead of a squashed one. The * bounding box is exact but includes transforms; offset sizes ignore them but round, so they are * used only when a transform has changed the box. */ export declare function layoutSize(element: HTMLElement): { width: number; height: number; }; /** Measured width keeps SVG text at a readable CSS-pixel size in compact cards. */ export declare function useChartWidth(): { ref: import('react').RefObject; width: number; };