import { R as ResolveConfigOptions, U as UninstallResult } from './config-FrDqSkD0.js'; /** * Uninstall AgenticMail from Codex CLI. * * Reverses everything install() did, in the opposite order, with one * deliberate exception: we keep the bridge agent in AgenticMail by * default. * * Why? The bridge agent owns an inbox, may have ongoing conversations, * and may be referenced from other agents' contact lists. Silently * deleting it during a Codex uninstall is destructive in a way users * would not expect. Pass { purgeBridgeAgent: true } if you really want * it gone. */ interface UninstallOptions extends ResolveConfigOptions { /** * Also delete the bridge agent from AgenticMail. Default false — see * header comment. Setting this to true is irreversible (the agent's * API key, inbox folder layout, and contact references will all be * invalidated). */ purgeBridgeAgent?: boolean; } declare function uninstall(opts?: UninstallOptions): Promise; export { type UninstallOptions, uninstall };