import type { Context } from '@deepseek-ai/cordis'; import type { SessionEvent, SessionId } from '@deepseek-ai/dsh-session'; import type { ChannelSession, PartnerState } from '../domain.js'; interface GroupSource { id: string; title: string; routes: ChannelSession[]; } interface GroupTurn { id: string; at: number; user: string; assistant: string; accountId: string; } type Hosts = Context & { agents?: { get(id: SessionId): { session: { snapshotEvents(): readonly SessionEvent[]; }; } | undefined; }; }; export declare function ownerGroupSources(state: PartnerState, companionId: string): GroupSource[]; /** Same-room, verified-identity projection of the original log. No writes to long-term memory. */ export declare function ownerGroupTurns(events: readonly SessionEvent[], routes: readonly ChannelSession[]): GroupTurn[]; export declare function loadOwnerGroupTurns(ctx: Hosts, source: GroupSource): Promise; export declare function ownerGroupTimeline(turns: readonly GroupTurn[], timeZone: string, now?: number, through?: string): { timeZone: string; today: string; days: { day: string; turns: number; pending: number; }[]; }; export {}; //# sourceMappingURL=owner-group-history.d.ts.map