type TLOnTranslateEndHandler<T extends TLShape> = ( initial: T, current: T ) => TLShapePartial<T> | void