import { type Database } from "../../data/database.js"; import { type LegacySourceEntry, type UpgradeImportContext } from "./inventory.js"; export declare function retiredTopicScope(scope: string | undefined): boolean; export declare function ensureImportedScope(db: Database, input: string, roomHint?: string): string; /** Actor evidence is independent of execution-event evidence. Neither is inferred * from current names, filenames, timestamps, sequence values or equal payloads. */ export interface LegacyConversationImportOptions { eventOwner?: (entry: LegacySourceEntry) => { ownerKey: string; memberId: string | null; }; /** A globally stable, nonblank identity for this particular execution event, from * verified historical evidence. Ordinal is the original nonblank JSONL position. * undefined means an independent occurrence, even when the actor/payload matches. * The caller owns proof authenticity; the importer validates scope/actor/payload * consistency and source order. Normal startup has no such evidence or callback. * Proof-bearing imports prepare event rows outside SQL, then commit them together. */ eventProvenance?: (entry: LegacySourceEntry, ordinal: number) => string | undefined; } /** Full source order is retained, including non-activity events. Imports never emit outbox work. */ export declare function importLegacyConversations(ctx: UpgradeImportContext, entries: readonly LegacySourceEntry[], options?: LegacyConversationImportOptions): Promise>; //# sourceMappingURL=conversations.d.ts.map