import { OAuth2Tokens, ProviderOptions } from "../oauth2/oauth-provider.mjs"; //#region src/social-providers/huggingface.d.ts interface HuggingFaceProfile { sub: string; name: string; preferred_username: string; profile: string; picture: string; website?: string | undefined; email?: string | undefined; email_verified?: boolean | undefined; isPro: boolean; canPay?: boolean | undefined; orgs?: { sub: string; name: string; picture: string; preferred_username: string; isEnterprise: boolean | "plus"; canPay?: boolean; roleInOrg?: "admin" | "write" | "contributor" | "read"; pendingSSO?: boolean; missingMFA?: boolean; resourceGroups?: { sub: string; name: string; role: "admin" | "write" | "contributor" | "read"; }[]; } | undefined; } interface HuggingFaceOptions extends ProviderOptions { clientId: string; } declare const huggingface: (options: HuggingFaceOptions) => { id: "huggingface"; name: string; createAuthorizationURL({ state, scopes, codeVerifier, redirectURI }: { state: string; codeVerifier: string; scopes?: string[] | undefined; redirectURI: string; display?: string | undefined; loginHint?: string | undefined; }): Promise; validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: { code: string; redirectURI: string; codeVerifier?: string | undefined; deviceId?: string | undefined; }) => Promise; refreshAccessToken: (refreshToken: string) => Promise; getUserInfo(token: OAuth2Tokens & { user?: { name?: { firstName?: string; lastName?: string; }; email?: string; } | undefined; }): Promise<{ user: { id: string; name?: string; email?: string | null; image?: string; emailVerified: boolean; [key: string]: any; }; data: any; } | null>; options: HuggingFaceOptions; }; //#endregion export { HuggingFaceOptions, HuggingFaceProfile, huggingface }; //# sourceMappingURL=huggingface.d.mts.map