import { CAMSConfig } from "./types";
import { Profile } from "./validators";
/**
 * Generate a secure random window name to prevent targeting
 */
export declare const generateSecureWindowName: () => string;
/**
 * Detect if current window is a popup to prevent recursive popups
 */
export declare const isPopupWindow: () => boolean;
/**
 * Validate configuration and return parsed URL
 */
export declare function validateConfig(config: CAMSConfig): URL;
/**
 * Open CAMS authentication popup and handle the authentication flow
 */
export declare function openCAMSPopUpLogin(config: CAMSConfig): Promise<Profile>;
