export interface OAuthCallbackResult { code: string; state?: string; } export interface OAuthServerOptions { port: number; timeoutMs?: number; successHtml?: string; errorHtml?: string; } /** * Start a local HTTP server to receive OAuth callbacks * Returns a promise that resolves with the authorization code */ export declare function startOAuthServer(options: OAuthServerOptions): Promise; /** * Get the callback URL for an OAuth server on a given port */ export declare function getCallbackUrl(port: number): string; //# sourceMappingURL=oauth-server.d.ts.map