import type { RAGSearchRequest, RAGSource } from '../../../types/ai';
export declare const createRAGSearch: (path: string) => {
    error: import("svelte/store").Writable<string | null>;
    hasSearched: import("svelte/store").Writable<boolean>;
    isSearching: import("svelte/store").Writable<boolean>;
    lastRequest: import("svelte/store").Writable<RAGSearchRequest | null>;
    reset: () => void;
    results: import("svelte/store").Writable<RAGSource[]>;
    search: (input: RAGSearchRequest) => Promise<RAGSource[]>;
};
