/** * OAuth token-endpoint body parsing (RFC 6749 §3.2). * * Kept in its own side-effect-free module so it can be unit-tested directly — * api/oauth.ts creates a Supabase client at import time, which throws without * env, so it cannot be imported from a test. */ /** Token-endpoint params (RFC 6749 §3.2). See {@link bodyToSource}. */ export declare function parseTokenRequestParams(contentType: string, body: unknown): Record; /** * Authorize-endpoint consent-POST params (RFC 6749 §4.1.1). The consent form * submits application/x-www-form-urlencoded, which Vercel delivers as an * object — so this MUST go through {@link bodyToSource} or every field (incl. * client_id) is dropped and the user sees "Missing client_id". */ export declare function parseAuthorizeRequestParams(contentType: string, body: unknown): Record;