/** camelCase or custom property -> the kebab name getComputedStyle/setProperty expect. */ export declare function toKebab(property: string): string; export interface StyleReader { /** Computed value of a property (kebab-converted), trimmed. '' when unset. */ get(property: string): string; } /** * An attribute reader with the same shape as `readStyle` - `get(name)` returns * the element's current attribute value (`getAttribute`), '' when unset. The seam * for animating SVG/element attributes (viewBox, r, points) through the same group * machinery as style properties. */ export declare function readAttribute(element: Element): StyleReader; /** * One getComputedStyle(element) per animate()/setStyle() call, evaluated lazily * and shared by every property read of that call - getComputedStyle forces a * style/layout flush, so it must happen at most once and before any write. * Lazy so a call that never reads (pure numeric fast path) touches no DOM. */ export declare function readStyle(element: Element): StyleReader; //# sourceMappingURL=read-style.d.ts.map