import { AuthProviderName, PasswordRules } from './types';
export declare const providerInfo: Record<AuthProviderName, {
    name: string;
    icon: string;
    color: string;
}>;
export declare function formatProviderName(provider: AuthProviderName): string;
export declare function getProviderIcon(provider: AuthProviderName): string;
export declare function getProviderColor(provider: AuthProviderName): string;
export declare function formatSocialLoginText(provider: AuthProviderName, template?: string): string;
export declare const defaultPasswordRules: PasswordRules;
export declare function isValidEmail(email: string): boolean;
export declare function generateRandomString(length?: number): string;
export declare function createSocialLoginUrl(provider: AuthProviderName, clientId: string, redirectUri: string, scopes?: string[], customParams?: Record<string, string>): string;
export declare function openSocialLoginPopup<T>(url: string, provider: AuthProviderName, onSuccess?: (result: T) => void, onError?: (error: Error) => void): void;
export declare function formatAuthError(error: unknown): string;
export declare function isBrowser(): boolean;
export declare function requestToControllerValidation<T>({ task, message, onStart, onEnd, }: {
    task: undefined | ((value: T) => Promise<string | null>);
    message: string;
    onStart?: () => void;
    onEnd?: () => void;
}): (value: T) => Promise<import("../form").ControllerValidation>;
