import type { TestPlan } from "@allurereport/core-api"; import { type AgentTestManifestLine } from "./harness.js"; export type AgentRerunPreset = "review" | "failed" | "unsuccessful" | "all"; export type AgentLabelFilter = { name: string; value: string; }; export type AgentSelectionResult = { outputDir: string; preset: AgentRerunPreset; selectedTests: AgentTestManifestLine[]; testPlan: TestPlan; }; export type AgentTestPlanContext = { outputDir: string; preset: AgentRerunPreset; selectedCount: number; testPlanPath: string; cleanup: () => Promise; }; export declare const AGENT_RERUN_PRESETS: AgentRerunPreset[]; export declare const normalizeAgentRerunPreset: (value?: string) => AgentRerunPreset; export declare const parseAgentLabelFilters: (values?: string[]) => AgentLabelFilter[]; export declare const resolveAgentSelectionOutputDir: (params: { cwd: string; from?: string; latest?: boolean; }) => Promise; export declare const selectAgentTestPlan: (params: { outputDir: string; preset?: AgentRerunPreset; environments?: string[]; labelFilters?: AgentLabelFilter[]; }) => Promise; export declare const createAgentTestPlanContext: (params: { cwd: string; from?: string; latest?: boolean; preset?: AgentRerunPreset; environments?: string[]; labelFilters?: AgentLabelFilter[]; }) => Promise;