/**
 * Briefing Service
 *
 * Generates a free-form text briefing memo by analyzing entities across
 * folders, personalized by the user's home brief and agent memory.
 * The memo is injected into the agent's system prompt as session context,
 * enabling the agent to greet users proactively with workspace findings.
 *
 * Replaces the structured JSON insight system.
 */
import type { WorkspaceConfig } from '../core/types.js';
import type { WorkspaceManager } from '../core/workspace-manager.js';
import type { AuthService } from './auth-service.js';
export interface BriefingData {
    briefingText: string;
    generatedAt: string | null;
    entityCount: number;
}
export interface ToolCapability {
    name: string;
    description: string;
}
/**
 * Generate a free-form briefing memo from workspace entities.
 */
export declare function generateBriefing(wm: WorkspaceManager, repoNames: string[], userBrief: string, authService: AuthService, userId: number, workspaceConfig?: WorkspaceConfig, tools?: ToolCapability[], agentMemory?: string | null): Promise<BriefingData>;
