import type { KnowledgeSourceRecord } from './types.js';
export interface KnowledgePageSourceQualityPolicy {
    readonly isGeneratedSource?: ((source: KnowledgeSourceRecord) => boolean) | undefined;
    readonly authorityBoost?: ((source: KnowledgeSourceRecord) => number) | undefined;
    readonly isLowValueSource?: ((source: KnowledgeSourceRecord, existing?: KnowledgeSourceRecord) => boolean) | undefined;
    readonly usablePendingPattern?: RegExp | undefined;
    readonly qualityKeywordPattern?: RegExp | undefined;
}
export declare function isUsefulKnowledgePageSource(source: KnowledgeSourceRecord, policy?: KnowledgePageSourceQualityPolicy): boolean;
export declare function isUsefulKnowledgePageSourceCandidate(source: KnowledgeSourceRecord, existing: KnowledgeSourceRecord | undefined, status: KnowledgeSourceRecord['status'], policy?: KnowledgePageSourceQualityPolicy): boolean;
export declare function compareKnowledgePageSources(left: KnowledgeSourceRecord, right: KnowledgeSourceRecord, policy?: KnowledgePageSourceQualityPolicy): number;
export declare function knowledgePageSourceWeight(source: KnowledgeSourceRecord, policy?: KnowledgePageSourceQualityPolicy): number;
//# sourceMappingURL=source-quality.d.ts.map