import type { CSSProperties, MutableRefObject } from 'react'; type SetStyle = (propertyName: string, value: string | undefined) => void; interface ImmediateStyle { setStyle: SetStyle; styleRef: MutableRefObject; style: CSSProperties; } /** * Update an element's style without forcing renders, but in a way that is still * safe if the element re-renders for another reason. * @returns The current style & a method to update the style */ export declare function useImmediateStyle(ref: MutableRefObject): ImmediateStyle; export {}; //# sourceMappingURL=use-immediate-style.d.ts.map