import { OAuth2Tokens, ProviderOptions } from "../oauth2/oauth-provider.mjs"; //#region src/social-providers/dropbox.d.ts interface DropboxProfile { account_id: string; name: { given_name: string; surname: string; familiar_name: string; display_name: string; abbreviated_name: string; }; email: string; email_verified: boolean; profile_photo_url: string; } interface DropboxOptions extends ProviderOptions { clientId: string; accessType?: ("offline" | "online" | "legacy") | undefined; } declare const dropbox: (options: DropboxOptions) => { id: "dropbox"; 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: DropboxOptions; }; //#endregion export { DropboxOptions, DropboxProfile, dropbox }; //# sourceMappingURL=dropbox.d.mts.map