/** * Local HTTP server for OAuth callback handling. * * Listens on 127.0.0.1 with a dynamic port, captures the authorization code * from the OAuth redirect, displays a success page to the user, and emits * the code via EventEmitter. Auto-closes after 5 minutes of inactivity. */ import { EventEmitter } from 'node:events'; export declare class OAuthCallbackServer extends EventEmitter { private server; private port; private timeout; constructor(port?: number); get callbackUrl(): string; get redirectUrl(): string; start(): Promise; stop(): Promise; } //# sourceMappingURL=oauth-callback-server.d.ts.map