import type { RAGSearchRequest, RAGSource } from '../../../types/ai';
export declare const useRAGSearch: (path: string) => {
    error: import("vue").Ref<string | null, string | null>;
    isSearching: import("vue").Ref<boolean, boolean>;
    results: import("vue").Ref<{
        chunkId: string;
        score: number;
        text: string;
        title?: string | undefined;
        source?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[], RAGSource[] | {
        chunkId: string;
        score: number;
        text: string;
        title?: string | undefined;
        source?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[]>;
    search: (input: RAGSearchRequest) => Promise<RAGSource[]>;
};
