/** * Batch Task Fetcher * * Fetches multiple tasks from GitHub/Linear for batch processing. * Uses WritableIntegration for bidirectional task management. */ /** * A task to be processed in auto mode */ export interface BatchTask { /** Unique identifier (issue number, ticket ID) */ id: string; /** Task title */ title: string; /** Full task description */ description: string; /** Source integration */ source: 'github' | 'linear'; /** URL to the task */ url: string; /** Priority (lower = higher priority) */ priority?: number; /** Labels/tags */ labels?: string[]; /** Owner/repo for GitHub */ project?: string; } /** * Options for fetching batch tasks */ export interface BatchFetchOptions { /** Source to fetch from */ source: 'github' | 'linear'; /** Project identifier */ project?: string; /** Filter by label */ label?: string; /** Maximum tasks to fetch */ limit?: number; /** Status filter */ status?: string; } /** * Fetch multiple tasks from a source */ export declare function fetchBatchTasks(options: BatchFetchOptions): Promise; /** * Claim a task (mark as in-progress) */ export declare function claimTask(task: BatchTask): Promise; /** * Mark a task as complete */ export declare function completeTask(task: BatchTask, result: { success: boolean; prUrl?: string; }): Promise; /** * Skip a task (mark as skipped/blocked) */ export declare function skipTask(task: BatchTask, reason: string): Promise; //# sourceMappingURL=batch-fetcher.d.ts.map