import type { GetProductGroupingQuery } from '@farfetch/blackout-client'; import type { ProductEntity } from '../../entities/types/index.js'; import type { StoreState } from '../../types/index.js'; /** * Returns the loading grouping condition to a specific product. * * @param state - Application state. * @param id - Product id. * @param query - Get product grouping query. * * @returns If the product grouping is loading or not. */ export declare const isProductGroupingLoading: (state: StoreState, id: ProductEntity['id'], query?: GetProductGroupingQuery) => boolean | undefined; /** * Returns the fetched status of a specific product grouping. * * @param state - Application state. * @param id - Product id. * @param query - Get product grouping query. * * @returns If a certain product grouping has been fetched or not. */ export declare const isProductGroupingFetched: (state: StoreState, id: ProductEntity['id'], query?: GetProductGroupingQuery) => boolean | undefined; /** * Returns the error grouping condition to a specific product. * * @param state - Application state. * @param id - Product id. * @param query - Get product grouping query. * * @returns The grouping error associated to a specific product. */ export declare const getProductGroupingError: (state: StoreState, id: ProductEntity['id'], query?: GetProductGroupingQuery) => import("@farfetch/blackout-client").BlackoutError | undefined; /** * Returns the grouping for a given product id. * * @param state - Application state. * @param id - Product id. * @param query - Get product grouping query. * * @returns The product grouping corresponding to the product id and query parameters. */ export declare const getProductGrouping: (state: StoreState, id: ProductEntity['id'], query?: GetProductGroupingQuery) => import("../../entities/types/product.types.js").GroupingAdapted;