import { ProductInfo } from "@insite/client-framework/Common/ProductInfo";
import { SafeDictionary } from "@insite/client-framework/Common/Types";
import { ProductSubscriptionDto } from "@insite/client-framework/Types/ApiModels";

export default interface ProductDetailsState {
    selectedProductId?: string;
    productInfosById?: SafeDictionary<ProductInfo>;
    selectedImageIndex: number;
    lastProductPath?: string;
    lastStyledOption?: string;
    variantSelection: SafeDictionary<string>;
    variantSelectionCompleted: boolean;
    configurationSelection: SafeDictionary<string>;
    configurationCompleted: boolean;
    isProductLoading?: boolean;
    subscription?: ProductSubscriptionDto;
    metadataSetForId?: string;
    structuredPageData?: string;
    structuredPageDataSetForId?: string;
}
