import { RECEIVE_REVIEWS } from '../constants'; import type { Review, ReviewsRequestMeta } from '../types/reviews'; /** * Dispatches the RECEIVE_REVIEWS action. * @param hash Generated hash for an entity. * @param productId The ID of the product. * @param reviews The received review data. * @param totalReviewCount The total number of reviews for a product. * @param meta Request metadata. * @param after The cursor for the next page as returned by the pipeline. * @param summary The rating summary as returned by the pipeline. * @returns The RECEIVE_PRODUCT_REVIEWS action. */ declare const receiveReviews: (hash: string, productId: string, reviews: Review[], totalReviewCount?: number | null, meta?: ReviewsRequestMeta, after?: string | null, summary?: unknown) => { type: typeof RECEIVE_REVIEWS; hash: string; productId: string; reviews: Review[]; totalReviewCount: number | null | undefined; after: string | null | undefined; summary: unknown; requestId?: number; offset?: number; sort?: string; filters?: import("../types/reviews").ReviewListFilters; }; export type ReceiveReviewsAction = ReturnType; export default receiveReviews; //# sourceMappingURL=receiveReviews.d.ts.map