/** * useSearch Hook * Document search functionality (API service) */ import type { Document } from '../types'; export interface SearchResult { documents: Document[]; total: number; hasMore: boolean; } export interface UseSearchOptions { query: string; limit?: number; offset?: number; onError?: (err: Error) => void; } export declare const useSearch: (options: UseSearchOptions) => { results: SearchResult; isLoading: boolean; error: Error; search: () => Promise; }; //# sourceMappingURL=useSearch.d.ts.map