import type { BlackoutError, Exchange, ExchangeBookRequest, ExchangeFilterItem } from '@farfetch/blackout-client'; import type { CombinedState } from 'redux'; import type { Nullable, StateWithResult } from '../../index.js'; export type ExchangeFiltersState = { error: Record; isLoading: Record; }; export type ExchangesState = CombinedState<{ error: Nullable; isLoading: boolean; result: Nullable; exchangeFilters: ExchangeFiltersState; exchangeBookRequest: StateWithResult; }>;