import type { EditSession } from "../../types";
/**
 * Reduces page presence to one stable representative session per user.
 * The Sessions sidebar deliberately shows every session; the menubar avatar
 * stack represents people and must not let one user's tabs consume several
 * slots. The current session wins for the current user, then users and their
 * representative sessions are ordered deterministically.
 */
export declare function selectActiveUserSessions(sessions: EditSession[], currentSessionId?: string): EditSession[];
