export type PillBox = { left: number; right: number; }; export type PillTargetResolution = { /** Apply as the pill's inset target. `null` = leave current target alone. */ commit: PillBox | null; /** Stash for landing. `null` = nothing pending. */ pending: PillBox | null; }; /** * While the pill is flying, measurements must not retarget insets * (that restarts the CSS transition and elongates the pill). * Outside flight, commit only when the measured box actually changed. */ export declare const resolvePillTarget: (current: PillBox | null, measured: PillBox, isFlying: boolean) => PillTargetResolution;