import type { Dispatch } from 'redux'; import type { ReviewId, ReviewsState, ReviewVote, OwnReviewVotesState } from '../types/reviews'; type SubmitReviewVoteState = ReviewsState & OwnReviewVotesState; /** * Submits a helpfulness vote for a review. * @param reviewId The ID of the review. * @param vote The vote of the user. * @returns The dispatched action. It resolves with `null` when the user already voted on the * review or a vote for it is still in flight. */ declare function submitReviewVote(reviewId: ReviewId, vote: ReviewVote): (dispatch: Dispatch, getState: () => SubmitReviewVoteState) => Promise; /** @mixes {MutableFunction} */ declare const _default: typeof submitReviewVote; export default _default; //# sourceMappingURL=submitReviewVote.d.ts.map