import type { ILisaContext, IMemoryService, ITaskService, ILogger, IGitClient } from '../../domain'; import type { IGitHubSyncService } from '../../skills/shared/services/GitHubSyncService'; import type { ISessionStartResult } from '../interfaces'; import type { IRequestHandler } from '../mediator'; import { SessionStartRequest } from '../mediator/requests'; /** * Handler for session start events. * * Orchestrates memory loading, git introspection, task processing, * and context formatting by delegating to focused services. * * Implements IRequestHandler for use with the Mediator pattern. */ export declare class SessionStartHandler implements IRequestHandler { private readonly context; private readonly memory; private readonly tasks; private readonly logger?; private readonly githubSync?; private readonly formatter; private readonly gitService; private readonly memoryLoader; private readonly triageService; constructor(context: ILisaContext, memory: IMemoryService, tasks: ITaskService, logger?: ILogger, githubSync?: IGitHubSyncService, gitClient?: IGitClient); /** * Handle a session start request. */ handle(request: SessionStartRequest): Promise; /** * Sync GitHub issues on startup (fire-and-forget). */ private syncGitHubOnStartup; /** * Run git triage to analyze commit history. * Returns null if triage fails (non-blocking). */ private runGitTriage; /** * Compute date options based on trigger type. */ private computeDateOptions; /** * Process task nodes into structured tasks. */ private processTasks; /** * Count tasks by status. */ private countTasks; private getTaskId; private getTaskNum; private getTaskStatus; private pickLatest; } //# sourceMappingURL=SessionStartHandler.d.ts.map