import { LocalWorktreeManager } from '../../execution-environments/local-worktree-manager.js'; import type { TaskFollowUpInput } from './contracts.js'; export interface TaskResource { rootPath: string; environmentId?: string; assertLive(): void; assertIdentity(): Promise; fingerprint(): Promise; } /** Resource selection is infrastructure, independent of source and task semantics. */ export declare class TaskResources { private readonly options; constructor(options?: { stateDir?: string; worktrees?: LocalWorktreeManager; }); artifactPath(operationId: string): string; prepare(input: TaskFollowUpInput, taskId: string, operationId: string, conversationId: string): Promise; }