import { type JSX } from 'react'; import type { LoaderType } from '../../typings/index'; import type { QueryPageSize } from '@commercelayer/sdk'; interface Props { /** * Any valid JSX.Element(s). * A single `` component or a list of them is expected to render the prices. */ children: JSX.Element | JSX.Element[]; /** * SDK query filter to fetch the prices when multiple prices are requested. */ filters?: object; /** * Loader component or string to be rendered while the prices are being fetched. * @default 'Loading...' */ loader?: LoaderType; /** * Prices per page to be fetched */ perPage?: QueryPageSize; /** * SKU code to fetch the prices for. If not provided, the `sku_code` will be retrieved from the `` component(s) nested as children. */ skuCode?: string; } /** * Main container for the Prices components. It stores the prices context. * * It can be used to fetch the prices for a specific `sku_code` passed as prop * or for the `sku_code` retrieved from all `` components nested as children. * * Must be a child of the `` component. * * * `` * */ export declare function PricesContainer(props: Props): JSX.Element; export default PricesContainer;