import type { SearchResultType } from '@nextsparkjs/registries/entity-types';
export interface SearchResult {
    id: string;
    title: string;
    description?: string;
    type: SearchResultType;
    url: string;
    category?: string;
    priority?: 'low' | 'medium' | 'high';
    completed?: boolean;
    entityType?: string;
    status?: string;
}
export declare function useSearch(): {
    query: string;
    setQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
    results: SearchResult[];
    isSearching: boolean;
    clearSearch: () => void;
    hasResults: boolean;
    isEmpty: boolean;
};
//# sourceMappingURL=useSearch.d.ts.map