import { Command } from 'commander'; /** * Options for pushing a task branch and creating a merge request based on a GitLab issue */ export interface SendTaskAgentOptions { /** IID de l’issue GitLab */ id: string; /** Brache cible pour la MR (défaut: main) */ targetBranch?: string; /** Chemin du dépôt (défaut: cwd) */ repoPath?: string; /** Jeton GitLab (défaut: GITLAB_TOKEN env) */ gitlabToken?: string; /** URL GitLab (défaut: https://gitlab.teleport.ftprod.fr/) */ gitlabUrl?: string; /** Répertoire TLS pour TeleportBot (défaut: ~/.ftprod-ai/tbot) */ workDir?: string; /** Join token du Teleport application bot (pour générer TLS via TeleportBot) */ teleportToken?: string; } /** * Résultat de l’opération sendTaskAgent */ export interface SendTaskAgentResult { mrIid: number; branch: string; commitSha: string; webUrl: string; } /** * Push d’une branche générée pour l’issue et création d’une MR GitLab. */ export declare function sendTaskAgent({ id, targetBranch, repoPath, gitlabToken, gitlabUrl, workDir, teleportToken, }: SendTaskAgentOptions): Promise; /** CLI metadata for sendTaskAgent */ export declare const cli: { command: string; description: string; builder: (cmd: Command) => Command; handler: (id: string, opts: Omit) => Promise; };