import { SqliteDB } from "onebots"; import type { TeamsConversationReference } from "./types.js"; /** 将主动消息所需上下文持久化,避免进程重启后失去发送能力。 */ export declare class TeamsConversationStore { private readonly db; constructor(db: SqliteDB); getReference(accountId: string, conversationId: string): TeamsConversationReference | undefined; listReferences(accountId: string): TeamsConversationReference[]; saveReference(accountId: string, reference: TeamsConversationReference): void; saveMessageContext(accountId: string, messageId: string, conversationId: string): void; findConversationByMessage(accountId: string, messageId: string): string | undefined; private key; } //# sourceMappingURL=conversation-store.d.ts.map