import React from 'react'; import { clearSearch as clearSearchAction } from '@staticcms/core/actions/search'; import type { ViewStyle } from '@staticcms/core/constants/views'; import type { CollectionsWithDefaults } from '@staticcms/core'; import type { ConnectedProps } from 'react-redux'; interface EntriesSearchOwnProps { searchTerm: string; filterTerm: string; collections: CollectionsWithDefaults; viewStyle: ViewStyle; } declare const connector: import("react-redux").InferableComponentEnhancerWithProps<{ isFetching: boolean; page: number; collections: CollectionsWithDefaults; viewStyle: ViewStyle; entries: import("@staticcms/core").Entry[]; searchTerm: string; filterTerm: string; } & { searchEntries: (searchTerm: string, searchCollections: string[], page?: number | undefined) => Promise<{ readonly type: "SEARCH_ENTRIES_SUCCESS"; readonly payload: { readonly entries: import("@staticcms/core").Entry[]; readonly page: number; }; } | { readonly type: "SEARCH_ENTRIES_FAILURE"; readonly payload: { readonly error: Error; }; } | undefined>; clearSearch: typeof clearSearchAction; }, EntriesSearchOwnProps>; export type EntriesSearchProps = ConnectedProps; declare const _default: import("react-redux").ConnectedComponent[]; searchTerm: string; filterTerm: string; } & { searchEntries: (searchTerm: string, searchCollections: string[], page?: number | undefined) => Promise<{ readonly type: "SEARCH_ENTRIES_SUCCESS"; readonly payload: { readonly entries: import("@staticcms/core").Entry[]; readonly page: number; }; } | { readonly type: "SEARCH_ENTRIES_FAILURE"; readonly payload: { readonly error: Error; }; } | undefined>; clearSearch: typeof clearSearchAction; }>, { searchTerm: string; filterTerm: string; collections: CollectionsWithDefaults; viewStyle: ViewStyle; context?: React.Context> | undefined; store?: import("redux").Store | undefined; }>; export default _default;