/** * Resolved config helpers (VTiltConfig may contain sentinel values like * `if_capture_pageview` that are not booleans until interpreted). */ import type { VTiltConfig } from "../types"; /** * Whether automatic $pageleave should run. * - `capture_pageleave === false` → off * - `capture_pageleave === true` → on * - `undefined` or `'if_capture_pageview'` → on iff pageviews are enabled * * Server-side $config_pending filter handles the edge case where events * are captured before fresh remote config loads. */ export declare function isPageleaveEnabled(config: VTiltConfig): boolean;