import { Context } from '../models/Enums'; import { QueryParams as QueryParams2 } from '../models/Queries'; import { CustomApi, SearchQueryParams } from '../models/Search'; import { AppState, Facet, Facets, Filters, Paging, SelectedFilters, Tab } from '../models/SearchState'; type StateType = 'immutable' | 'js'; export declare const getSearchContext: (state: AppState) => Context; export declare const getCurrent: (state: AppState, context?: Context) => string; export declare const getCurrentFacet: (state: AppState) => string; export declare const getCurrentListing: (state: AppState) => string; export declare const getCurrentTab: (state: AppState) => number; export declare const getFacets: (state: AppState, returnType?: StateType) => Facets; export declare const getTabFacets: (state: AppState) => { [k: string]: Facet; }; export declare const getFacetTitles: (state: AppState) => { isSelected: boolean; key: string; title: string | undefined; totalCount: number; }[]; export declare const getFacet: (state: AppState, facetName?: string, context?: Context | string, returnType?: StateType) => Facet; export declare const getListing: (state: AppState, listing?: string) => Facet; export declare const getFilters: (state: AppState, facet: string, context?: Context, returnType?: StateType) => Filters; export declare const getRenderableFilters: (state: AppState, facet?: string, context?: Context) => Filters; export declare const getFiltersToLoad: (state: AppState, facet: string, context?: Context, returnType?: StateType) => string[]; export declare const getSelectedFilters: (state: AppState, facet?: string, context?: Context, returnType?: StateType) => SelectedFilters; export declare const getResults: (state: AppState, current?: string, context?: Context, returnType?: StateType) => any[]; export declare const getIsInternalPaging: (state: AppState, current: string, context?: Context) => boolean; export declare const getIsLoaded: (state: AppState, context?: Context, facet?: string) => boolean; export declare const getIsLoading: (state: AppState, context?: Context, facet?: string) => boolean; export declare const getIsSsr: (state: AppState) => boolean; export declare const getFeaturedResults: (state: AppState, current?: string, context?: Context, returnType?: StateType) => any[]; export declare const getPaging: (state: AppState, current?: string, context?: Context, returnType?: StateType) => Paging; export declare const getPageIndex: (state: AppState, current?: string, context?: Context) => number; export declare const getPageSize: (state: AppState, current?: string, context?: Context) => number; export declare const getPrevPageIndex: (state: AppState, current?: string, context?: Context) => number; export declare const getPageIsLoading: (state: AppState, current?: string, context?: Context) => boolean; export declare const getPagesLoaded: (state: AppState, current?: string, context?: Context) => number[]; export declare const getTotalCount: (state: AppState, current?: string, context?: Context) => number; export declare const getSearchTerm: (state: AppState) => string; export declare const getSearchTabs: (state: AppState, returnType?: StateType) => Tab[]; export declare const getQueryParams: (state: AppState, current?: string, context?: Context) => Record; export declare const getQueryParameter: ({ state, facet, context, }: { state: AppState; facet?: string; context?: Context; }, key: K | K2, ifnull?: any) => SearchQueryParams[K] | QueryParams2[K2]; export declare const getCustomApi: (state: AppState, current: string, context?: Context, returnType?: StateType) => CustomApi; export declare const getCustomEnv: (state: AppState, current: string, context?: Context) => any; export declare const getTabsAndFacets: (state: AppState, returnType?: StateType) => any; export declare const getSearchTotalCount: (state: AppState) => number; export declare const getFacetsTotalCount: (state: AppState) => number; export declare const selectFacets: { getCurrent: (state: AppState) => string; getCurrentTab: (state: AppState) => number; getCustomApi: (state: AppState, current: string, context?: Context, returnType?: StateType) => CustomApi; getCustomEnv: (state: AppState, current: string, context?: Context) => any; getFacet: (state: AppState, facetName?: string, context?: Context | string, returnType?: StateType) => Facet; getFacetTitles: (state: AppState) => { isSelected: boolean; key: string; title: string | undefined; totalCount: number; }[]; getFacets: (state: AppState, returnType?: StateType) => Facets; getFacetsTotalCount: (state: AppState) => number; getFeaturedResults: (state: AppState, current?: string, context?: Context, returnType?: StateType) => any[]; getFilters: (state: AppState, facet: string, context?: Context, returnType?: StateType) => Filters; getFiltersToLoad: (state: AppState, facet: string, context?: Context, returnType?: StateType) => string[]; getIsLoaded: (state: AppState, context?: Context, facet?: string) => boolean; getIsLoading: (state: AppState, context?: Context, facet?: string) => boolean; getPageIndex: (state: AppState, current?: string, context?: Context) => number; getPageIsLoading: (state: AppState, current?: string, context?: Context) => boolean; getPagesLoaded: (state: AppState, current?: string, context?: Context) => number[]; getPaging: (state: AppState, current?: string, context?: Context, returnType?: StateType) => Paging; getQueryParams: (state: AppState, facet: string) => Record; getQueryParameter: ({ state, facet }: { state: AppState; facet?: string; }, key: keyof SearchQueryParams | keyof QueryParams2, ifnull: any) => any; getRenderableFilters: (state: AppState, facet?: string, context?: Context) => Filters; getResults: (state: AppState, current?: string, context?: Context, returnType?: StateType) => any[]; getTabFacets: (state: AppState) => { [k: string]: Facet; }; getTabsAndFacets: (state: AppState, returnType?: StateType) => any; getTotalCount: (state: AppState, current?: string, context?: Context) => number; getSearchTabs: (state: AppState, returnType?: StateType) => Tab[]; getSearchTerm: (state: AppState) => string; getSearchTotalCount: (state: AppState) => number; getSelectedFilters: (state: AppState, facet?: string, context?: Context, returnType?: StateType) => SelectedFilters; }; export declare const selectListing: { getCurrent: (state: AppState) => string; getFeaturedResults: (state: AppState, listing?: string) => any[]; getFilters: (state: AppState, listing?: string) => Filters; getFiltersToLoad: (state: AppState, listing?: string) => string[]; getListing: (state: AppState, listing?: string) => Facet; getIsLoaded: (state: AppState) => boolean; getIsLoading: (state: AppState) => boolean; getPageIndex: (state: AppState, listing?: string) => number; getPaging: (state: AppState, listing?: string) => Paging; getPageIsLoading: (state: AppState, listing?: string) => boolean; getPagesLoaded: (state: AppState, listing?: string) => number[]; getQueryParams: (state: AppState, listing?: string) => Record; getQueryParameter: ({ state, facet }: { state: AppState; facet?: string; }, key: keyof SearchQueryParams | keyof QueryParams2, ifnull: any) => any; getRenderableFilters: (state: AppState, listing?: string) => Filters; getResults: (state: AppState, listing?: string) => any[]; getSearchTerm: (state: AppState) => string; getTotalCount: (state: AppState, listing?: string) => number; getSelectedFilters: (state: AppState, listing?: string) => SelectedFilters; }; export declare const selectCurrentPath: (state: AppState) => any; export declare const selectCurrentProject: (state: AppState) => any; export declare const selectVersionStatus: (state: AppState) => any; export {};