/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { SixthUserInfo, SixthAuthConfig } from './sixthAuth.js'; export declare class SixthAuthServer { private server; private port; private config; constructor(config: SixthAuthConfig); /** * Start the callback server and return a promise that resolves with user info */ startAndWaitForAuth(): Promise; private tryStartServer; private handleRequest; private validateToken; private sendSuccessPage; private sendErrorPage; getCallbackUrl(): string; stop(): void; }