export interface CallbackServer { redirectUri: string; waitForCode: (timeoutMs?: number) => Promise; close: () => void; } export declare const startCallbackServer: (expectedState: string) => Promise;