import { type Readable } from "svelte/store";
import type { RAGSource } from "@absolutejs/ai";
export declare const createRAGGrounding: (content: Readable<string>, sources: Readable<RAGSource[]>) => {
    coverage: Readable<"partial" | "grounded" | "ungrounded">;
    groundedAnswer: Readable<import("@absolutejs/ai").RAGGroundedAnswer>;
    hasCitations: Readable<boolean>;
    hasGrounding: Readable<boolean>;
    references: Readable<import("@absolutejs/ai").RAGGroundingReference[]>;
    ungroundedReferenceNumbers: Readable<number[]>;
};
export type CreateRAGGroundingResult = ReturnType<typeof createRAGGrounding>;
