import type { RAGSearchRequest, RAGSource } from '../../../types/ai';
export declare const useRAGSearch: (path: string) => {
    error: string | null;
    isSearching: boolean;
    results: RAGSource[];
    search: (input: RAGSearchRequest) => Promise<RAGSource[]>;
    setResults: import("react").Dispatch<import("react").SetStateAction<RAGSource[]>>;
};
export type UseRAGSearchResult = ReturnType<typeof useRAGSearch>;
