import type { ContextCapsule } from "./context-capsule.js";
import type { AgentTask } from "./agent-runtime.js";
export declare function capsuleToTask(capsule: ContextCapsule, options?: AbortSignal | CapsuleToTaskOptions): Promise<AgentTask>;
export interface CapsuleToTaskOptions {
    readonly signal?: AbortSignal;
    readonly cwd?: string;
    readonly env?: Record<string, string>;
    readonly fallbackChain?: readonly string[];
}
