import { CustomQuery, UseReview, Context, FactoryParams, PlatformApi } from '../types'; export interface UseReviewFactoryParams extends FactoryParams { searchReviews: (context: Context, params: REVIEWS_SEARCH_PARAMS & { customQuery?: CustomQuery; }) => Promise; addReview: (context: Context, params: REVIEW_ADD_PARAMS & { customQuery?: CustomQuery; }) => Promise; } export declare function useReviewFactory(factoryParams: UseReviewFactoryParams): (id: string) => UseReview;