/** * Briefing — Context Section Builders * * Builds the journal, team, rules-file, and skills-directory * context sections for the briefing resource. */ import type { BriefingConfig, ResourceContext } from '../../shared.js'; export interface JournalContext { totalEntries: number; latestEntries: { id: number; timestamp: string; type: string; preview: string; }[]; latestSessionSummary?: { id: number; timestamp: string; type: string; preview: string; }; sessionSummaries?: { id: number; timestamp: string; type: string; preview: string; }[]; lastModified: string; workspaceId?: string; } export declare function buildJournalContext(context: ResourceContext, config: BriefingConfig, projectNumber?: number | null, activeWorkspaceId?: string): JournalContext; export interface TeamContext { teamInfo: { totalEntries: number; latestPreview: string | null; }; teamLatestEntries?: { id: number; timestamp: string; type: string; preview: string; }[]; } export declare function buildTeamContext(context: ResourceContext, config: BriefingConfig, projectNumber?: number | null): TeamContext | undefined; export interface GraphSummary { totalRelationships: number; density: number; causalMetrics: Record; topHubs: { id: number; preview: string; count: number; }[]; orphanRatio?: number; } export declare function buildGraphContext(context: ResourceContext, workspaceId?: string): GraphSummary | undefined; //# sourceMappingURL=context-section.d.ts.map