import { ReactNode } from 'react';
import { SearchProps } from './search';
type SearchContextValue = {
    isOpen: boolean;
    open: () => void;
    close: () => void;
    toggle: () => void;
};
type SearchProviderProps = {
    children: ReactNode;
    shortcutKey?: string;
    requireModifier?: boolean;
    searchProps: Omit<SearchProps, "isOpen" | "onClose">;
};
declare const SearchProvider: ({ children, shortcutKey, requireModifier, searchProps, }: SearchProviderProps) => import("react/jsx-runtime").JSX.Element;
declare const useSearch: () => SearchContextValue | null;
export type { SearchContextValue, SearchProviderProps };
export { SearchProvider, useSearch };
//# sourceMappingURL=provider.d.ts.map