import { RemoteFeatureFlagControllerState } from "@metamask/remote-feature-flag-controller"; /** * The RPC failover behavior for Infura networks, controlled by the * `corePlatformRpcFailoverMode` remote feature flag. * * - `disabled`: failover URLs are ignored; traffic stays on the primary * endpoint. * - `enabled`: traffic automatically diverts to failover URLs when the primary * endpoint is unavailable. * - `forced`: Infura endpoints that have failover URLs route all traffic to * those failover URLs, bypassing Infura entirely. */ export type RpcFailoverMode = 'disabled' | 'enabled' | 'forced'; /** * Reads the RPC failover mode from the remote feature flags, defaulting to * `disabled` when the flag is absent or not a recognized value. * * @param state - The remote feature flag controller state. * @returns The RPC failover mode. */ export declare function getRpcFailoverMode(state: RemoteFeatureFlagControllerState): RpcFailoverMode; //# sourceMappingURL=selectors.d.mts.map