import React, { ReactNode } from 'react'; type SpotlightRequestListener = () => void; export declare function onSpotlightRequested(listener: SpotlightRequestListener): () => void; export interface SpotlightState { opened: boolean; query: string; selectedIndex: number; } export interface SpotlightStore { state: SpotlightState; open: () => void; close: () => void; toggle: () => void; setQuery: (query: string) => void; setSelectedIndex: (index: number) => void; navigateUp: () => void; navigateDown: () => void; } export interface SpotlightProviderProps { children: ReactNode; } export declare function SpotlightProvider({ children }: SpotlightProviderProps): React.JSX.Element; export declare function useSpotlightStore(): SpotlightStore; export declare function useSpotlightStoreInstance(): [SpotlightStore, SpotlightStore]; export declare const createSpotlightStore: typeof useSpotlightStoreInstance; export declare const spotlight: { open: () => void; close: () => void; toggle: () => void; }; export declare function setDefaultSpotlightStore(store: SpotlightStore | null): void; export {};