/**
 * Demo Recorder Agent
 *
 * Records test sessions and generates professional demos in multiple formats:
 * - Video (MP4/WebM)
 * - Screenshot sequences
 * - Interactive HTML replays
 * - Markdown scripts
 *
 * Communicates via Living Brain (context.json).
 */
import { BrowserContext } from "playwright";
import { SubAgent } from "../interfaces/SubAgent";
import { DemoArtifacts, DemoConfig, VisionTestStep } from "../../types/vision-testing";
export interface DemoRecorderInput {
    browserContext: BrowserContext;
    steps: VisionTestStep[];
    config: DemoConfig;
    projectPath: string;
    missionName: string;
    missionDescription?: string;
}
export interface DemoRecorderOutput {
    artifacts: DemoArtifacts;
    success: boolean;
    error?: string;
}
export declare class DemoRecorderAgent implements SubAgent<DemoRecorderInput, DemoRecorderOutput> {
    name: string;
    description: string;
    personality: string;
    llmProvider: string;
    expertise: string[];
    private contextService?;
    private demoDir;
    constructor();
    run(input: DemoRecorderInput): Promise<DemoRecorderOutput>;
    /**
     * Generate video recording
     * NOTE: Playwright's video recording must be configured when launching browser
     */
    private generateVideo;
    /**
     * Generate screenshot sequence
     */
    private generateScreenshots;
    /**
     * Generate interactive HTML replay
     */
    private generateHTMLReplay;
    /**
     * Generate markdown script
     */
    private generateMarkdownScript;
    /**
     * Build HTML replay template
     */
    private buildHTMLReplayTemplate;
    /**
     * Write update to Living Brain
     */
    private writeLivingBrain;
    validate(input: DemoRecorderInput): Promise<boolean>;
    getStatus(): Promise<{
        name: string;
        status: "idle" | "running" | "completed" | "error";
        lastRun?: Date;
        executionTime?: number;
        errorCount: number;
        successCount: number;
    }>;
}
//# sourceMappingURL=DemoRecorderAgent.d.ts.map