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