interface OAuthListenerOptions { /** * How long to wait for the OAuth redirect before timing out (in milliseconds). */ timeoutMs?: number; } export interface OAuthListener { /** * Resolves with the callback URL once Google redirects back to the local server. */ waitForCallback(): Promise; /** * Cleanly stop listening for callbacks. */ close(): Promise; } /** * Starts a lightweight HTTP server that listens for the Antigravity OAuth redirect * and resolves with the captured callback URL. */ export declare function startOAuthListener({ timeoutMs }?: OAuthListenerOptions): Promise; export {}; //# sourceMappingURL=server.d.ts.map