/**
 * Documentation Testing Session Manager
 *
 * Handles creating, loading, saving, and managing documentation validation sessions.
 * Uses the existing session directory infrastructure from session-utils.ts.
 */
import { ValidationSession, ValidationPhase, WorkflowStep, DocumentSection, SectionStatus, FixableItem } from './doc-testing-types';
export declare class DocTestingSessionManager {
    /**
     * Create a new validation session
     */
    createSession(filePath: string, args: any): ValidationSession;
    /**
     * Load existing session
     */
    loadSession(sessionId: string, args: any): ValidationSession | null;
    /**
     * Save session state
     */
    saveSession(session: ValidationSession, args: any): void;
    /**
     * Get universal agent instructions for documentation testing workflow
     */
    private getAgentInstructions;
    /**
     * Get next workflow step for AI agent
     */
    getNextStep(sessionId: string, args: any, phaseOverride?: ValidationPhase): WorkflowStep | null;
    /**
     * Handle done phase - mark session as completed and provide summary
     */
    private getDonePhaseStep;
    /**
     * Generate final session summary for done phase
     */
    private generateFinalSummary;
    /**
     * Get all active sessions
     */
    getActiveSessions(args: any): ValidationSession[];
    private generateSessionId;
    /**
     * Load phase prompt from file (following CLAUDE.md pattern)
     */
    private loadPhasePrompt;
    private getNextPhase;
    private getRemainingPhases;
    /**
     * Update the status of a specific section
     */
    updateSectionStatus(sessionId: string, sectionId: string, status: SectionStatus, args: any): void;
    /**
     * Get sections for a session
     */
    getSections(sessionId: string, args: any): DocumentSection[] | null;
    /**
     * Get the next test phase step - handles section-by-section testing
     */
    private getTestPhaseStep;
    /**
     * Find the next section that needs testing
     */
    private getNextSectionToTest;
    /**
     * Get remaining sections that need testing
     */
    private getRemainingTestSections;
    /**
     * Load section-specific test prompt
     */
    private loadSectionTestPrompt;
    /**
     * Convert string arrays to FixableItem arrays with generated IDs
     */
    private convertToFixableItems;
    /**
     * Store test results for a specific section
     */
    storeSectionTestResults(sessionId: string, sectionId: string, results: string, args: any): void;
    /**
     * Process scan results by converting section titles into DocumentSection objects
     */
    processScanResults(sessionId: string, sectionTitles: string[], args: any): void;
    /**
     * Generate status summary for fix phase
     */
    private generateStatusSummary;
    /**
     * Generate formatted list of pending/failed items for fix phase
     */
    private generatePendingItemsList;
    /**
     * Update the status of a specific FixableItem by ID
     */
    updateFixableItemStatus(sessionId: string, itemId: number, status: 'fixed' | 'deferred' | 'failed', explanation?: string, args?: any): void;
    /**
     * Update multiple FixableItem statuses at once
     */
    updateMultipleFixableItemStatuses(sessionId: string, updates: Array<{
        itemId: number;
        status: 'fixed' | 'deferred' | 'failed';
        explanation?: string;
    }>, args?: any): void;
    /**
     * Get all FixableItems with pending or failed status
     */
    getPendingFixableItems(sessionId: string, args?: any): FixableItem[];
}
//# sourceMappingURL=doc-testing-session.d.ts.map