import type { ReactElement } from 'react';
import type { SearchConfig, SearchData, WorkerApi, WorkerConfig } from './types';
import React from 'react';
export type { SearchConfig, WorkerConfig, WorkerApi };
export declare const SearchContext: React.Context<SearchData | SearchConfig | null | undefined>;
export declare const SearchProvider: React.Provider<SearchData | SearchConfig | null | undefined>;
export interface SearchProps {
    data: SearchConfig;
    url: URL;
}
export declare function Search(props: SearchProps): ReactElement;
export declare function useSearch(): SearchData | SearchConfig | null | undefined;
