import type { BetterAuthOptions, BetterAuthPlugin } from 'better-auth'; import type { OIDCProviderConfig } from './OIDCProviderConfig.js'; /** Fougere-side provider declaration. */ export interface FougereProviders { credential?: { minPasswordLength?: number; maxPasswordLength?: number; autoSignIn?: boolean; }; google?: { clientId: string; clientSecret: string; scope?: string[]; }; github?: { clientId: string; clientSecret: string; scope?: string[]; }; facebook?: { clientId: string; clientSecret: string; scope?: string[]; }; apple?: { clientId: string; clientSecret: string; scope?: string[]; }; discord?: { clientId: string; clientSecret: string; scope?: string[]; }; microsoft?: { clientId: string; clientSecret: string; scope?: string[]; }; oidc?: Record; } export declare function translateCredential(providers?: FougereProviders): BetterAuthOptions['emailAndPassword']; export declare function translateSocial(providers?: FougereProviders): BetterAuthOptions['socialProviders']; /** Build the plugin list from Fougere provider config. */ export declare function translatePlugins(providers?: FougereProviders): BetterAuthPlugin[]; //# sourceMappingURL=FougereProviders.d.ts.map