/** * Orchestrator Client Integration * * Connects ticket-mate to orchestrator to receive instructions for ticket creation. * This allows orchestrator to control ticket creation without ticket-mate directly managing Jira. */ export interface OrchestratorConfig { baseUrl?: string; apiKey?: string; enabled?: boolean; } export interface OrchestratorInstruction { id: string; type: "create-ticket" | "update-ticket" | "sync-status" | "webhook" | "start-work"; payload: { projectKey?: string; issueType?: string; summary: string; description?: string; priority?: string; assignee?: string; epicKey?: string; labels?: string[]; metadata?: Record; issueKey?: string; [key: string]: unknown; }; source?: string; timestamp?: string; } export interface OrchestratorResponse { success: boolean; issueKey?: string; issueUrl?: string; error?: string; message?: string; } /** * Get orchestrator configuration from environment */ export declare function getOrchestratorConfig(): OrchestratorConfig; /** * Check if orchestrator integration is enabled */ export declare function isOrchestratorEnabled(): boolean; /** * Fetch instructions from orchestrator */ export declare function fetchOrchestratorInstructions(projectRoot?: string): Promise; /** * Send ticket creation result back to orchestrator */ export declare function reportToOrchestrator(instructionId: string, result: OrchestratorResponse): Promise; /** * Register ticket-mate with orchestrator */ export declare function registerWithOrchestrator(serviceInfo: { name: string; version: string; capabilities: string[]; endpoints: { createTicket: string; updateTicket: string; syncStatus: string; webhook: string; }; }): Promise; //# sourceMappingURL=orchestrator-client.d.ts.map