/** * CLI Setup Wizard — Browser-based OAuth for local stdio mode * * Usage: mcp-personal-suite setup * * Flow: * 1. Asks which service to configure (gmail, calendar, both) * 2. Asks for Google OAuth client_id + client_secret (user provides once) * 3. Starts localhost:3333 HTTP server * 4. Opens browser with Google OAuth URL * 5. User approves in browser → Google redirects to localhost:3333/callback * 6. We exchange code for tokens → save to ~/.personal-suite/config.json * 7. Server shuts down, shows success * * The user needs to create Google OAuth credentials ONCE (Desktop/Web client in * Google Cloud Console), then the wizard handles everything else automatically. * * Alternative: skip OAuth entirely and use an app-specific password with IMAP. * Gmail supports this (Google Account → Security → App passwords). Many users * find the IMAP route simpler than setting up a Google Cloud project. */ export declare function runSetupWizard(): Promise; //# sourceMappingURL=setup.d.ts.map