import type { ProductEntity } from '../../entities/types/index.js'; import type { ProductVariant } from '@farfetch/blackout-client'; import type { StoreState } from '../../types/index.js'; /** * Returns the merchants locations loading condition for a specific product. * * @param state - Application state. * @param id - Product id. * * @returns If the product's merchants locations are loading. */ export declare const areProductVariantsByMerchantsLocationsLoading: (state: StoreState, id: ProductEntity['id']) => boolean | undefined; /** * Returns the fetched status of a specific product's merchants locations. * * @param state - Application state. * @param id - Product id. * * @returns If the product's merchants locations are fetched. */ export declare const areProductVariantsByMerchantsLocationsFetched: (state: StoreState, id: ProductEntity['id']) => boolean; /** * Returns the error of a product's merchants locations. * * @param state - Application state. * @param id - Product id. * * @returns The merchants locations error associated with a specific product. */ export declare const getProductVariantsByMerchantsLocationsError: (state: StoreState, id: ProductEntity['id']) => import("@farfetch/blackout-client").BlackoutError | undefined; /** * Returns the merchants' locations given a product variant. * * @param state - Application state. * @param productId - Product id. * @param variantId - Variant id. * * @returns Merchants' locations for a given product and variant id. */ export declare const getProductVariantsByMerchantsLocations: (state: StoreState, productId: ProductEntity['id'], variantId: ProductVariant['id']) => import("@farfetch/blackout-client").ProductVariantMerchantLocation[] | undefined;