import { AuthCredential } from './AuthCredential'; import type { AppleFullPersonName } from '../types/auth'; type OAuthCredentialParams = { idToken?: string; accessToken?: string; rawNonce?: string; secret?: string; /** @remarks Sign in with Apple only; see {@link OAuthCredentialOptions.fullName}. */ fullName?: AppleFullPersonName; /** @internal RNFB native bridge token slot override */ bridgeToken?: string; /** @internal RNFB native bridge secret slot override */ bridgeSecret?: string; }; export declare function hasAppleFullPersonName(fullName?: AppleFullPersonName | null): fullName is AppleFullPersonName; export declare class OAuthCredential extends AuthCredential { readonly idToken?: string; readonly accessToken?: string; /** @remarks Used for Sign in with Apple and Facebook limited-login flows. OAuth 1.0 token secrets (e.g. Twitter) use the inherited AuthCredential secret bridge field instead. */ readonly rawNonce?: string; /** @remarks Sign in with Apple only; see {@link OAuthCredentialOptions.fullName}. */ readonly fullName?: AppleFullPersonName; constructor(providerId: string, params: OAuthCredentialParams); toJSON(): object; static fromJSON(json: object | string): OAuthCredential | null; } export {}; //# sourceMappingURL=OAuthCredential.d.ts.map