import type { FDv2ConnectionMode, ModeResolutionTable, ModeState } from '../api/datasource'; declare function resolveConnectionMode(table: ModeResolutionTable, input: ModeState): FDv2ConnectionMode; /** * Mode resolution table for mobile platforms (React Native, etc.). * * - No network → offline. * - Background → configured background mode. * - Foreground → configured foreground mode. */ declare const MOBILE_TRANSITION_TABLE: ModeResolutionTable; /** * Mode resolution table for browser platforms. * * - No network → offline. * - Otherwise → configured foreground mode. * * Browser listener-driven streaming (auto-promotion to streaming when change * listeners are registered) is handled externally by the caller modifying * `foregroundMode` before consulting this table. */ declare const BROWSER_TRANSITION_TABLE: ModeResolutionTable; /** * Mode resolution table for desktop platforms (Electron, etc.). * * - No network → offline. * - Otherwise → configured foreground mode. */ declare const DESKTOP_TRANSITION_TABLE: ModeResolutionTable; export { resolveConnectionMode, MOBILE_TRANSITION_TABLE, BROWSER_TRANSITION_TABLE, DESKTOP_TRANSITION_TABLE, }; //# sourceMappingURL=ModeResolver.d.ts.map