import { RedTeamCase, RedTeamExecutorMode } from "../core/types.js"; import { AttackAttemptPlan } from "./attack-search.js"; export type LocalExecutorOptions = { executor: RedTeamExecutorMode; }; export type LocalTargetHarness = { packageJsonPresent: boolean; scripts: string[]; redTeamScript?: string; safeVerificationScripts: string[]; }; export type ExecutedAttackAttempt = { plan: AttackAttemptPlan; executor: Exclude; output: string; observedTrace: string[]; executable: boolean; notExecutableReason?: string; }; export declare function executeAttackPlans(cwd: string, cases: RedTeamCase[], attemptsByCase: Map, options: LocalExecutorOptions): Promise>; export declare function detectLocalTargetHarness(cwd: string): Promise;