/**
 * Adapter that implements {@link RunnerStepExecutor} on top of a
 * {@link ProcessBackend}. Relay owns command construction (CLI flags, env,
 * cwd, timeout); the backend only provides "where to run" — create an
 * isolated environment, exec the command, destroy.
 *
 * The WorkflowRunner synthesizes one of these when a caller passes
 * `processBackend` without an explicit `executor`, so every existing
 * `executor.executeAgentStep(...)` call site transparently flows through
 * the backend (e.g. a cloud sandbox) without any further plumbing.
 */
import type { ProcessBackend, RunnerStepExecutor } from './types.js';
export interface ProcessBackendExecutorOptions {
    /** Env vars injected into every step (e.g. auth tokens, relayfile config). */
    env?: Record<string, string>;
}
export declare function createProcessBackendExecutor(backend: ProcessBackend, options?: ProcessBackendExecutorOptions): RunnerStepExecutor;
//# sourceMappingURL=process-backend-executor.d.ts.map