/**
 * Sandbox configuration and lifecycle extensions for agent harness tasks.
 *
 * Builds Promptfoo beforeEach/afterEach hooks for provisioning and
 * tearing down sandbox working directories.
 */
import type { AgentHarnessTaskDefinition } from "../../../../_vendor/ailf-core/index.d.ts";
import type { PromptfooExtension, SandboxConfigMeta } from "./types.js";
/**
 * Build sandbox configuration from a task definition.
 *
 * Fixture paths are resolved to absolute at compile time using callerCwd
 * (the directory the pipeline was invoked from), because promptfoo runs
 * with cwd set to packages/eval/ — not the monorepo root where apps/ lives.
 */
export declare function buildSandboxConfig(task: AgentHarnessTaskDefinition, callerCwd?: string): SandboxConfigMeta;
export declare function buildLifecycleExtensions(task: AgentHarnessTaskDefinition, sandboxConfig: SandboxConfigMeta): PromptfooExtension[];
export declare function buildBeforeEachHook(taskId: string, config: SandboxConfigMeta): string;
export declare function buildAfterEachHook(taskId: string): string;
