/// import { ParentProductInfo } from "../use-parent-products"; import { findMatchingVariant } from "../utils/variationMatching"; interface UseVariationSelectionProps { parentInfo: ParentProductInfo; onSelectionChange: (componentKey: string, optionId: string, quantity: number, variationId?: string) => void; componentKey: string; optionId: string; selectedVariationId?: string; } interface UseVariationSelectionReturn { variationSelections: Record; setVariationSelections: React.Dispatch>>; handleVariationChange: (variationId: string, value: string) => void; matchingVariant: ReturnType; } export declare function useVariationSelection({ parentInfo, onSelectionChange, componentKey, optionId, selectedVariationId, }: UseVariationSelectionProps): UseVariationSelectionReturn; export {};