/**
 * A test case generated for the test run.
 */
export interface TestCase {
    id: string;
    name: string;
    description?: string;
}
/**
 * Information about an interactive element on the page.
 * Used for DOM context in testing prompts.
 */
export interface InteractiveElement {
    tag: string;
    text?: string;
    id?: string;
    className?: string;
    testId?: string;
    placeholder?: string;
    href?: string;
    type?: string;
    role?: string;
    ariaLabel?: string;
    name?: string;
    disabled?: boolean;
}
/**
 * Configuration for starting a test run with the test subagent.
 */
export interface TestRunConfig {
    /** Unique identifier for the test run */
    testRunId: string;
    /** Header/title displayed in the UI for the test run */
    header: string;
    /** Plan context from the main agent */
    planContext?: {
        plan?: string;
        title?: string;
    };
    /** Predefined test cases to execute */
    testCases?: TestCase[];
    /** Interactive elements on the current page for DOM context */
    interactiveElements?: InteractiveElement[];
}
/**
 * Result from a test step (browser action).
 */
export interface TestStepResult {
    /** Unique identifier for the step */
    stepId: string;
    /** Human-readable description of what was tested */
    description: string;
    /** The action that was performed (click, fill, screenshot, etc.) */
    action: string;
    /** Whether the step succeeded */
    success: boolean;
    /** Screenshot captured during/after the step */
    screenshot?: {
        data: string;
        format: string;
    };
    /** Additional details about the step (selector, value, etc.) */
    details?: Record<string, any>;
    /** Error message if the step failed */
    error?: string;
}
//# sourceMappingURL=types.d.ts.map