import type { RAGQueryResult, RAGReranker, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike } from "@absolutejs/ai";
export type CreateRAGRerankerOptions = {
    rerank: RAGReranker;
    defaultModel?: string;
    providerName?: string;
};
export type HeuristicRAGRerankerOptions = {
    defaultModel?: string;
    providerName?: string;
};
export declare const applyRAGReranking: ({ input, reranker, }: {
    input: RAGRerankerInput;
    reranker?: RAGRerankerProviderLike;
}) => Promise<RAGQueryResult[]>;
export declare const createHeuristicRAGReranker: (options?: HeuristicRAGRerankerOptions) => RAGRerankerProvider;
export declare const createRAGReranker: (options: CreateRAGRerankerOptions) => RAGRerankerProvider;
export declare const resolveRAGReranker: (reranker: RAGRerankerProviderLike | undefined) => RAGRerankerProvider | null;
