import type { Dispatch } from 'redux'; import type { ReviewsSliceState } from '../types/reviews'; type FetchProductReviewsState = { reviews: Pick; }; /** * Request product reviews for a product from server. * @param productId The product ID * @param limit The maximum number of reviews to fetch * @param sort Sorting, passed through to the pipeline unchanged. * @returns The dispatched action. */ declare function fetchProductReviews(productId: string, limit?: number, sort?: string): (dispatch: Dispatch, getState: () => FetchProductReviewsState) => Promise; /** @mixes {MutableFunction} */ declare const _default: typeof fetchProductReviews; export default _default; //# sourceMappingURL=fetchProductReviews.d.ts.map