import { type StoreState } from '../index.js'; import type { OrderItem } from '@farfetch/blackout-client'; /** * Returns the exchange result from the application state. * * @param state - Application state. * * @returns Returns exchange result. */ export declare const getExchange: (state: StoreState) => import("../index.js").Nullable; /** * Returns the exchange error. * * @param state - Application state. * * @returns Exchange error. */ export declare const getExchangeError: (state: StoreState) => import("../index.js").Nullable; /** * Returns the loading status of the exchanges area. * * @param state - Application state. * * @returns Loader status. */ export declare const areExchangesLoading: (state: StoreState) => boolean; /** * Retrieves if the exchange has been fetched. * * Will return true if an exchange request * has been made that returned either successfully or failed * and false otherwise. * * @param state - Application state. * * @returns isFetched status of the exchange. */ export declare const isExchangeFetched: (state: StoreState) => boolean; /** * Returns the exchange filter by id. * * @param state - Application state. * * @returns Exchange filter. */ export declare const getExchangeFilterById: (state: StoreState, orderItemUuid: OrderItem['shippingOrderLineId']) => import("@farfetch/blackout-client").ExchangeFilter | undefined; /** * Returns the exchange filters. * * @param state - Application state. * * @returns Exchange filters. */ export declare const getExchangeFilters: (state: StoreState) => Record | undefined; /** * Returns the loading flag for the exchange filter area actions. * * @param state - Application state. * * @returns Loading status. */ export declare const isExchangeFilterLoading: (state: StoreState, orderItemUuid?: OrderItem['shippingOrderLineId']) => boolean | undefined; /** * Returns the error for the exchange filter area actions. * * @param state - Application state. * * @returns Exchange filter error. */ export declare const getExchangeFilterError: (state: StoreState, orderItemUuid?: OrderItem['shippingOrderLineId']) => import("@farfetch/blackout-client").BlackoutError | null | undefined; /** * Returns the exchange book request. * * @param state - Application state. * * @returns Exchange book request. */ export declare const getExchangeBookRequest: (state: StoreState) => import("../index.js").Nullable; /** * Returns the loading flag for the exchange book request area actions. * * @param state - Application state. * * @returns Loading status. */ export declare const isExchangeBookRequestLoading: (state: StoreState) => boolean; /** * Returns the error for the exchange book request area actions. * * @param state - Application state. * * @returns Exchange book request error. */ export declare const getExchangeBookRequestError: (state: StoreState) => import("../index.js").Nullable; /** * Retrieves if the exchange book request has been fetched. * * Will return true if an exchange book request request * has been made that returned either successfully or failed * and false otherwise. * * @param state - Application state. * * @returns isFetched status of the exchange book request. */ export declare const isExchangeBookRequestFetched: (state: StoreState) => boolean;