import type { Task, EntityType, Canvas } from '../protocol.js'; /** * Fluent builder for creating multi-step tasks. */ export declare class TaskBuilder { private task; private steps; private constructor(); static create(name: string): TaskBuilder; /** * Set task scope to a specific project. */ forProject(projectName: string): this; /** * Set task scope to global (vault-wide). */ forGlobal(): this; /** * Bind task to a session. */ forSession(sessionId: string): this; /** * Set the entity type for context loading. */ forEntity(entity: EntityType): this; /** * Set initial canvas. */ withCanvas(canvas: Canvas): this; /** * Set initial tokens. */ withTokens(tokens: Record): this; /** * Add a step to the task. */ addStep(toolName: string, input: unknown): this; /** * Build the final task. */ build(): Task; } //# sourceMappingURL=builder.d.ts.map