How do you determine market rate for a seller non-compete?

Does anyone have any helpful heuristics here?

Is a non-compete compensation to the seller based on valuation for the business? Prior-to-sale seller income? Some fraction of market rate salary for a manger (if owner was acting as operator)?