import { type SocialConfigOptions } from '../social/profile-store.js'; export declare class ThreadsLoginError extends Error { readonly code: 'configuration' | 'unavailable' | 'denied' | 'timeout' | 'exchange' | 'validation'; constructor(code: 'configuration' | 'unavailable' | 'denied' | 'timeout' | 'exchange' | 'validation'); } export interface BrowserLoginOptions extends SocialConfigOptions { webBase?: string; timeoutMs?: number; openBrowser?: (url: string) => Promise; onUrl?: (url: string) => void; } /** The broker keeps the Meta app secret server-side; no token is passed through browser URLs. */ export declare function connectThreadsInBrowser(options?: BrowserLoginOptions): Promise;