   [trigger]
   {:fire? false})
 
-(defn percentile-watermark-init-state
-  [trigger]
-  ;; Intentionally return nil - this trigger is stateless.
-  )
-
 ;; Init local functions
 
 (defn segment-init-locals [trigger]

   :trigger/trigger-fire? punctuation-fire?})

(def ^:export watermark
  {:trigger/trigger-fire? watermark-fire?})

(def ^:export percentile-watermark
  {:trigger/init-state percentile-watermark-init-state
   :trigger/init-locals percentile-watermark-init-locals
   :trigger/next-state percentile-watermark-next-state
   :trigger/trigger-fire? percentile-watermark-fire?})

  (let [{:keys [pred-fn]} trigger-state]
    {:fire? (pred-fn trigger state-event)}))

;;; Fire predicate functions
(defn segment-fire?
  [{:keys [trigger/threshold] :as trigger}
