import type { MemoryEdge, MemoryId, MemoryRecord } from "@oscharko-dev/keiko-contracts/memory";
import type { IncludedMemory, RankingWeights } from "./types.js";
export interface RankMemoriesQuery {
    readonly queryText?: string;
    readonly nowMs: number;
    readonly weights: RankingWeights;
    readonly semanticById?: ReadonlyMap<MemoryId, number> | undefined;
}
export interface RankMemoriesOptions {
    readonly edgesByMemory?: ReadonlyMap<MemoryId, readonly MemoryEdge[]>;
    /** How many top baseline entries become the high-rank set for graph proximity. */
    readonly graphHighRankCount?: number;
}
export declare function rankMemories(memories: readonly MemoryRecord[], query: RankMemoriesQuery, options?: RankMemoriesOptions): readonly IncludedMemory[];
//# sourceMappingURL=ranking.d.ts.map