import type { ReviewFilterOption } from '../types/reviews'; import type { ReviewPaginationType, ReviewSettingsSliceState, ReviewSettingsState } from '../types/reviewSettings'; /** * Retrieves the review settings slice, falling back to an empty slice when absent. * @param state The application state. * @returns The review settings slice. */ export declare const getReviewSettingsState: (state: ReviewSettingsState) => ReviewSettingsSliceState; export declare const getReviewFeatures: ((state: ReviewSettingsState) => string[]) & import("reselect").OutputSelectorFields<(args_0: ReviewSettingsSliceState) => string[], { clearCache: () => void; }> & { clearCache: () => void; }; /** * Selects the pagination mode from the settings only. Returns `undefined` while unknown; * never derived from `features` and never defaulted to offset. */ export declare const getReviewPaginationType: ((state: ReviewSettingsState) => ReviewPaginationType | undefined) & import("reselect").OutputSelectorFields<(args_0: ReviewSettingsSliceState) => ReviewPaginationType | undefined, { clearCache: () => void; }> & { clearCache: () => void; }; export declare const getReviewCustomFields: ((state: ReviewSettingsState) => unknown[]) & import("reselect").OutputSelectorFields<(args_0: ReviewSettingsSliceState) => unknown[], { clearCache: () => void; }> & { clearCache: () => void; }; /** * Selects the sort values the provider supports, limited to the sort values the PWA knows * and kept in the provider's order. */ export declare const getReviewSortOptions: ((state: ReviewSettingsState) => string[]) & import("reselect").OutputSelectorFields<(args_0: ReviewSettingsSliceState) => string[], { clearCache: () => void; }> & { clearCache: () => void; }; /** * Selects the list filters the provider supports, in the order the PWA defines them. */ export declare const getReviewFilterOptions: ((state: ReviewSettingsState) => ReviewFilterOption[]) & import("reselect").OutputSelectorFields<(args_0: string[]) => ReviewFilterOption[], { clearCache: () => void; }> & { clearCache: () => void; }; export declare const isFetchingReviewSettings: ((state: ReviewSettingsState) => boolean) & import("reselect").OutputSelectorFields<(args_0: ReviewSettingsSliceState) => boolean, { clearCache: () => void; }> & { clearCache: () => void; }; export declare const isReviewCursorPagination: ((state: ReviewSettingsState) => boolean) & import("reselect").OutputSelectorFields<(args_0: ReviewPaginationType | undefined) => boolean, { clearCache: () => void; }> & { clearCache: () => void; }; /** * Whether the active provider reports the given capability. A capability missing from the * settings enables nothing. * @param state The application state. * @param feature The capability identifier to check. * @returns Whether the capability is enabled. */ export declare const hasReviewFeature: (state: ReviewSettingsState, feature: string) => boolean; //# sourceMappingURL=reviewSettings.d.ts.map