import type { OAuthProvider } from "./interfaces"; /** * Creates a Twitter/X OAuth 2.0 Provider integration. * * Uses OAuth 2.0 with PKCE (authorization code flow). The frontend must include * the PKCE `code_verifier` when sending the authorization code. * * Twitter API v2 requires the "tweet.read" and "users.read" scopes at minimum, * plus "offline.access" if refresh tokens are needed on Twitter's side. */ export declare function createTwitterProvider(config: { clientId: string; clientSecret: string; }): OAuthProvider<{ code: string; redirectUri: string; codeVerifier: string; }>;