/**
 * Relevance scorer for determining which content chunks to keep
 */
export declare class RelevanceScorer {
    /**
     * Score relevance of a chunk to a given query or context
     * Returns a score between 0 and 1
     */
    scoreRelevance(chunk: string, context: string): number;
    /**
     * Filter chunks based on relevance threshold
     */
    filterByRelevance(chunks: Array<string>, context: string, threshold?: number): Array<{
        chunk: string;
        score: number;
    }>;
    /**
     * Extract keywords and create a word set
     */
    private toWordSet;
}
//# sourceMappingURL=relevance.d.ts.map