import { Context, type Session } from 'koishi'; import { type AtLabelResolver } from '../service/transcript/message_log/element_text'; import type { ConversationLogEntryInput } from '../service/transcript/message_log/types'; /** 平台采集与首次注册补写共用,只从原始 session 元素生成日志正文。 */ export declare const buildSessionLogEntry: (session: Session, resolveAtLabel?: AtLabelResolver) => ConversationLogEntryInput | null; /** Character 平台采集:作用域由接入层解析,正文与入账保持同步。 */ export declare function apply(ctx: Context, collect: (session: Session, entry: ConversationLogEntryInput) => void, accepts: (session: Session) => boolean): void;