import { Command } from 'commander'; export interface StartTaskAgentOptions { /** ID (IID) de l’issue GitLab */ id: string; /** Chemin du dépôt (défaut: cwd) */ repoPath?: string; /** Branche de base (défaut: main) */ baseBranch?: string; /** Jeton GitLab (défaut: process.env.GITLAB_TOKEN) */ gitlabToken?: string; /** URL GitLab (défaut: https://gitlab.teleport.ftprod.fr/) */ gitlabUrl?: string; /** Répertoire de travail pour les données et destination (défaut: ~/.ftprod-ai/tbot) */ workDir?: string; /** Join token du Teleport application bot (pour générer TLS via TeleportBot) */ teleportToken?: string; } export interface StartTaskAgentResult { branch: string; commitSha: string; } /** * Démarre une tâche Git à partir d’une issue GitLab : * - récupère le titre de l’issue * - slugifie le titre, préfixe avec ID * - crée, commit et push la branche */ export declare function startTaskAgent({ id, repoPath, baseBranch, gitlabToken, gitlabUrl, workDir, }: StartTaskAgentOptions): Promise; /** CLI registration metadata for startTaskAgent */ export declare const cli: { command: string; description: string; builder: (cmd: Command) => Command; handler: (id: string, opts: Omit) => Promise; };