import type { ReviewsProductProps, ReviewsSliceState } from '../types/reviews'; import type { ReviewSummary } from '../types/reviewSummary'; type SummaryState = { product: unknown; reviews?: Partial; }; /** * Selects the review summary of a product. A summary delivered by the review provider wins. * Without one the product data is the source, unless the provider reports that it delivers * summaries: then the product data describes another dataset and is not used. * @param state The application state. * @param props The product id and an optional variant id, which takes precedence for the * product data. Provider summaries are stored by the product id. * @returns The summary, or null when none is available. */ export declare const getReviewSummary: (state: SummaryState, props?: ReviewsProductProps) => ReviewSummary | null; export {}; //# sourceMappingURL=reviewSummary.d.ts.map