/** * Decides whether the pill background should be painted on the marker surface. * * The pill background is opaque while the marker is in pill state and is held * for the duration of the collapse morph after `isPill` flips back to `false`. * Without this lingering paint, the background would drop to transparent the * instant the state changes, leaving the stick line visible through the * collapsing surface for the entire morph (asymmetric with expand, where the * background is opaque from the first frame). * * `lingerMs` should match the padding/border CSS transition duration so the * paint flips off exactly when the surface has finished collapsing back to a * circle. */ export declare const usePillBackgroundPaint: (isPill: boolean, lingerMs: number) => boolean;