/** * Ensure a folder is in Copilot CLI's `trustedFolders` so interactive sessions * launched there never block on the "Do you trust the files in this folder?" * dialog. * * Why: `--yolo` / `--allow-all-paths` do NOT suppress the folder-trust dialog in * interactive mode — only membership in `~/.copilot/config.json#trustedFolders` * does. Without this, `omp` (leader) and every `omp`-launched team worker hang on * the trust prompt in any folder the user hasn't manually trusted, which lower- * capability models cannot get past on their own. Pre-seeding trust is exactly * what picking "remember this folder" does, done up front and unattended. * * Best-effort and never throws: trust is a convenience, not correctness. */ export declare function copilotConfigPath(): string; export interface EnsureTrustResult { ok: boolean; added: boolean; folder: string; reason?: string; } export declare function ensureFolderTrusted(folder: string, configPath?: string): EnsureTrustResult;