/** * Makes an action's press land AFTER any inline commit the same gesture started — * see {@link pendingCommits} for the race it closes. * * With nothing in flight the press dispatches SYNCHRONOUSLY, exactly as before, so the * gate is invisible outside the racing case. While waiting the action reports busy, so * the gesture reads as "working" rather than "ignored" and cannot double-fire. */ export declare function useGatedPress(onPress?: (event: E) => void): { handlePress: (event: E) => void; waiting: boolean; };