interface CallbackResult { token: string; scopes?: string; } /** * Start a temporary HTTP server to receive OAuth callback * * @param expectedNonce - The nonce to validate against * @returns Promise that resolves with token when callback is received */ export declare function startLocalCallbackServer(expectedNonce: string): Promise<{ port: number; waitForCallback: () => Promise; close: () => void; }>; export {};