import { ClerkResource } from "./resource.js"; import { OAuthProvider, OAuthScope } from "./oauth.js"; import { VerificationResource } from "./verification.js"; import { ExternalAccountJSONSnapshot } from "./snapshots.js"; //#region src/types/externalAccount.d.ts type ReauthorizeExternalAccountParams = { additionalScopes?: OAuthScope[]; redirectUrl?: string; oidcPrompt?: string; oidcLoginHint?: string; }; interface ExternalAccountResource extends ClerkResource { id: string; identificationId: string; provider: OAuthProvider; providerUserId: string; emailAddress: string; approvedScopes: string; firstName: string; lastName: string; imageUrl: string; username?: string; phoneNumber?: string; publicMetadata: Record; label?: string; verification: VerificationResource | null; reauthorize: (params: ReauthorizeExternalAccountParams) => Promise; destroy: () => Promise; providerSlug: () => OAuthProvider; providerTitle: () => string; accountIdentifier: () => string; __internal_toSnapshot: () => ExternalAccountJSONSnapshot; } //#endregion export { ExternalAccountResource, ReauthorizeExternalAccountParams }; //# sourceMappingURL=externalAccount.d.ts.map