import { type RecommendForProductInput, type RecommendForProductResult } from "./recommendForProduct"; export interface UsePrimeStyleSizeState { /** The suggested size (e.g. "M", "42") — null while loading or if no profile */ recommendedSize: string | null; /** Per-section sizes for multi-section products */ sections: Record | null; /** True while the recommendation is being fetched */ loading: boolean; /** True if the user has no profile yet — host should show its existing "Find Your Size" CTA */ noProfile: boolean; /** True when the recommendation is tied to a signed-in PrimeStyle profile */ authenticatedProfile: boolean; /** The full result if you need confidence/sections/etc. */ result: RecommendForProductResult | null; /** Manually re-run the recommendation (e.g. after the user edits their profile) */ refetch: () => void; } /** * React hook wrapper around recommendForProduct(). Calls the headless API * on mount, returns the suggested size + loading state. Re-runs whenever * productId changes. */ export declare function usePrimeStyleSize(input: RecommendForProductInput): UsePrimeStyleSizeState;