import type { CommerceTypes } from '../../../../libs/fscommerce'; /** * Options to specify details of how to get Product Index data from DQL. */ export interface UseProductIndexHookOptions { /** * In the rare case of multiple, nested ProductIndexZones, this index allows you to select which * zone to pull from. Similar to array indexing, `0` would be the first encountered * ProductIndexZones when ascending up the component tree; `1` would be the next one. Conversely, * `-1` would be the last one, and `-2` would be the second highest. The default is 0, and most of * the time you won't need to set this. * */ index: number; } /** * * @param options Options to determine details of the DQL context to try to obtain * @return A `ProductIndex` object if a ProductIndexZone was found in the DQL context; undefined * if not. */ export declare const useProductIndex: (options?: UseProductIndexHookOptions) => CommerceTypes.ProductIndex | undefined;