import { SessionConfig } from '@zeniai/client-epic-state'; export type SessionAutoLogoutConfig = SessionConfig; /** * Resolves session auto-logout config from Statsig dynamic config. * * Resolution logic (evaluated top to bottom; first match wins): * 1. If userId is in `users_disabled_for_auto_logout` → auto-logout disabled * (no idle tracking, warning popup, or forced logout). The heartbeat still * follows config so their session is kept alive while active — SessionManager * treats heartbeat and idle tracking independently, so these users get * heartbeat-only behavior. This keeps long-lived sessions (e.g. the OAuth * consent flow) from expiring out from under endpoints that strictly enforce * session expiry. * 2. Else if userId is in `users_enabled_for_auto_logout` → force-enabled * regardless of the global `is_inactivity_based_logout_feature_enabled` * toggle. Use this list to ramp specific users ahead of the global flip. * 3. Otherwise → follow `is_inactivity_based_logout_feature_enabled` (global toggle). */ export declare function useSessionAutoLogoutConfig(userId: string | undefined): SessionAutoLogoutConfig;