import { ComponentProduct } from "./types"; interface ParentProductInfo { id: string; isParent: boolean; children?: ChildProduct[]; variations?: Array<{ id: string; name: string; options?: Array<{ id: string; name: string; }>; }>; variationMatrix?: any; loading: boolean; error?: Error; } interface ChildProduct { id: string; name?: string; sku?: string; price?: string; attributes?: Record; excluded?: boolean; } interface UseParentProductsOptions { components: Record; enabled?: boolean; } export declare function useParentProducts({ components, enabled, }: UseParentProductsOptions): { parentProducts: Record; loading: boolean; error: Error | null; }; export type { ParentProductInfo, ChildProduct };