/** An element's width as it resizes, or null before it has one, measured before paint so a * layout that depends on it never shows the wrong one first. */ export declare function useWidth(el: HTMLElement | null): number | null;