import { type QuestionType } from './question-type.js'; export declare const SEARCH_RANKER_FEATURE_SET_VERSION = "v1.0.0"; export type RankerSourceType = 'decision' | 'event' | 'observation' | 'artifact' | 'connector_event'; export declare const RANKER_SOURCE_TYPES: readonly RankerSourceType[]; export interface RankerFeatureVector { bm25_score: number; vector_score: number; case_rollup_score: number; recency_score: number; same_case_boost: number; source_type_onehot: Record; question_type_onehot: Record; } export interface RankerQueryMeta { question_type?: QuestionType; case_id?: string | null; } type FeatureRow = Record; export declare function extractFeatures(row: FeatureRow, query: string, queryMeta?: RankerQueryMeta): RankerFeatureVector; export declare function serializeFeatures(vec: RankerFeatureVector): number[]; export declare function featureSetVersion(): string; export {}; //# sourceMappingURL=ranker-features.d.ts.map