import { MatrixClient, RoomMember } from "matrix-js-sdk/src/matrix";
import { Member } from "./direct-messages";
export declare const compareMembers: (activityScores: Record<string, IActivityScore | undefined>, memberScores: Record<string, IMemberScore | undefined>) => (a: Member | RoomMember, b: Member | RoomMember) => number;
interface IActivityScore {
    lastSpoke: number;
    score: number;
}
export declare function buildActivityScores(cli: MatrixClient): {
    [userId: string]: IActivityScore;
};
interface IMemberScore {
    member: RoomMember;
    score: number;
    numRooms: number;
}
export declare function buildMemberScores(cli: MatrixClient): {
    [userId: string]: IMemberScore;
};
export {};
