export type CornerRadii = [number, number, number, number]; export interface BlobBox { x: number; y: number; w: number; h: number; r: CornerRadii; } /** Transform-free position of `el` relative to `ancestor` via the offsetParent * chain — the blob mirrors motion separately, so its base box must ignore the * transform currently applied to the wrapper. */ export declare function offsetTo(el: HTMLElement, ancestor: HTMLElement): { x: number; y: number; }; export declare function measureRadius(el: Element, w: number, h: number): CornerRadii; export declare function normalizeRadius(r: number | CornerRadii): CornerRadii; /** Rounded-rect path with per-corner radii, CSS-style overlap clamping. */ export declare function roundedRectPath(x: number, y: number, w: number, h: number, radii: CornerRadii): string;