/** * Project Mind MCP - Async Job Tools * * Tools for managing background jobs. * Enables long-running operations without Claude timeout. */ import type { Tool } from '@modelcontextprotocol/sdk/types.js'; import type { ProjectDatabase } from '../storage/database.js'; import type { ToolResult, JobStatus } from '../types/index.js'; import { JobQueue, type JobProgress } from '../jobs/job-queue.js'; export declare const asyncJobTools: Tool[]; export declare function initializeJobQueue(db: ProjectDatabase): JobQueue; export declare function getJobQueue(): JobQueue | null; export declare function shutdownJobQueue(): void; export declare function createAsyncJobHandlers(db: ProjectDatabase): { start_job: (input: { project: string; operation: string; parameters?: Record; }) => Promise>; get_job_progress: (input: { jobId: number; }) => Promise>; list_jobs: (input: { project: string; status?: JobStatus; }) => Promise>; cancel_job: (input: { jobId: number; }) => Promise>; resume_jobs: () => Promise>; }; //# sourceMappingURL=async-jobs.d.ts.map