import { SocialProvider } from 'better-auth/social-providers';
/** Augmentation target for framework-specific provider icon values. */
export interface SocialProviderRegister {
}
/** Icon value accepted by a configured provider. UI packages define this type. */
export type SocialProviderIcon = SocialProviderRegister extends {
    icon: infer TIcon;
} ? TIcon : unknown;
/** A custom provider displayed beside Better Auth's built-in social providers. */
export type CustomSocialProvider = {
    /** Provider ID configured in Better Auth. */
    id: string;
    /** Human-readable provider name. */
    label: string;
    /** Optional framework-specific icon. */
    icon?: SocialProviderIcon;
};
/** Built-in provider ID or custom provider display configuration. */
export type AuthSocialProvider = SocialProvider | CustomSocialProvider;
export declare const getProviderId: (provider: AuthSocialProvider | string) => string;
export declare const isCustomSocialProvider: (provider: AuthSocialProvider) => provider is CustomSocialProvider;
