import type { BoundedMap } from './bounded.js'; export interface RelayRecord { names: Set; replyTos: Set; } /** * 有界(见 bounded.js):清理路径都要求「这个会话之后还有事发生」, * 而只发过一次信就没动静的会话会让条目永久留下。 */ export declare const explicitSends: BoundedMap; export function addrName(addr: string): string; export function noteExplicitSend(sessionID: string | undefined, to: string, replyTo: string): void; export function shouldSkipAutoRelay( sent: RelayRecord | undefined, replyTo: string, mailID?: string ): boolean;