A coastal state can claim up to 200 miles of territory beyond its shoreline as an “exclusive economic zone”, over which that state has control of all economic resources, including fishing, mining, oil exploration, and any pollution of those resources. (Cannot prevent passage or loitering above, on, or under the surface
The 2 or more countries involved will divide up the water evenly.
This rule is called the “median-line principle”.