import type { RAGSearchRequest, RAGSource } from '../../../types/ai';
export declare const useRAGSearch: (path: string) => {
    error: import("vue").Ref<string | null, string | null>;
    hasSearched: import("vue").Ref<boolean, boolean>;
    isSearching: import("vue").Ref<boolean, boolean>;
    lastRequest: import("vue").Ref<{
        filter?: Record<string, unknown> | undefined;
        query: string;
        topK?: number | undefined;
        scoreThreshold?: number | undefined;
        model?: string | undefined;
    } | null, RAGSearchRequest | {
        filter?: Record<string, unknown> | undefined;
        query: string;
        topK?: number | undefined;
        scoreThreshold?: number | undefined;
        model?: string | undefined;
    } | null>;
    reset: () => void;
    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[]>;
};
