import type { SearchCommerceSuccessResponse } from '../../../api/commerce/search/response.js'; import type { CommerceEngine, CommerceEngineState } from '../../../app/commerce-engine/commerce-engine.js'; import { stateKey } from '../../../app/state-key.js'; import type { CommercePaginationSection, CommerceQuerySection, CommerceSearchSection } from '../../../state/state-sections.js'; import type { CommerceSearchParameters } from '../search-parameters/search-parameters-actions.js'; /** * Duplicate selector since the state is no longer accessible externally * TODO: KIT-3199: Update all other selectors to use the engine as a parameter */ export declare const responseIdSelectorFromEngine: (engine: CommerceEngine) => string; export declare const responseIdSelector: (state: CommerceEngineState) => string; export declare const requestIdSelector: (state: CommerceEngineState) => string; export declare const numberOfProductsSelector: (state: Partial) => number; export declare const moreProductsAvailableSelector: ((state: Partial) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { total: number; current: number; }) => boolean; memoizedResultFunc: ((resultFuncArgs_0: { total: number; current: number; }) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => boolean; dependencies: [(state: Partial) => { total: number; current: number; }]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { argsMemoize: typeof import("reselect").weakMapMemoize; memoize: typeof import("reselect").weakMapMemoize; }; export declare const isLoadingSelector: (state: Partial) => boolean; export declare const errorSelector: (state: Partial) => import("../../../api/commerce/commerce-api-error-response.js").CommerceAPIErrorStatusResponse | null; export declare const querySelector: (state: CommerceQuerySection) => string; export declare const queryExecutedFromResponseSelector: (state: CommerceQuerySection, response: SearchCommerceSuccessResponse) => string; export declare const activeParametersSelector: (state: CommerceEngine[typeof stateKey]) => CommerceSearchParameters; export declare function enrichedSummarySelector(state: CommerceEngineState): { query: string; };