import { OAuth2Tokens, ProviderOptions } from "../oauth2/oauth-provider.mjs"; //#region src/social-providers/spotify.d.ts interface SpotifyProfile { id: string; display_name: string; email: string; images: { url: string; }[]; } interface SpotifyOptions extends ProviderOptions { clientId: string; } declare const spotify: (options: SpotifyOptions) => { id: "spotify"; 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: SpotifyOptions; }; //#endregion export { SpotifyOptions, SpotifyProfile, spotify }; //# sourceMappingURL=spotify.d.mts.map