import type { ProductEntity } from '../../entities/types/index.js'; import type { SizeAdapted, StoreState } from '../../types/index.js'; /** * Returns the loading product sizes condition to a specific product. * * @param state - Application state. * @param id - Product id. * * @returns If the product sizes are loading or not. */ export declare const areProductSizesLoading: (state: StoreState, id: ProductEntity['id']) => boolean | undefined; /** * Returns the fetched status of a specific product sizes. * * @param state - Application state. * @param id - Product id. * * @returns If the product sizes has been fetched or not. */ export declare const areProductSizesFetched: (state: StoreState, id: ProductEntity['id']) => boolean; /** * Returns the error sizes condition to a specific product. * * @param state - Application state. * @param id - Product id. * * @returns The sizes error associated to a specific product. */ export declare const getProductSizesError: (state: StoreState, id: ProductEntity['id']) => import("@farfetch/blackout-client").BlackoutError | undefined; /** * Returns the sizes for a given product id. * * @param state - Application state. * @param id - Product id. * * @returns The sizes for a given product id. */ export declare const getProductSizes: (state: StoreState, id: ProductEntity['id']) => import("../../types/index.js").SizesAdapted; /** * Returns the sizes with stock for a given product id. * * @param state - Application state. * @param id - Product id. * * @returns The sizes with stock for a given product id. */ export declare const getProductSizesWithStock: (state: StoreState, productId: ProductEntity['id']) => SizeAdapted[] | undefined;