import type { Page, BrowserContext } from "playwright";
import type { AuthProfile } from "../types/index.js";
/**
 * Login using an AuthProfile based on the configured strategy.
 * This is the entry point for persona-based authentication in the test runner.
 */
export declare function authenticateWithProfile(page: Page, context: BrowserContext, profile: AuthProfile, baseUrl: string): Promise<void>;
/**
 * Serialize an AuthProfile to a plain object for storage in the database.
 */
export declare function serializeProfile(profile: AuthProfile): Record<string, string | null>;
/**
 * Deserialize a database row into an AuthProfile.
 */
export declare function deserializeProfile(row: Record<string, string | null>): AuthProfile;
//# sourceMappingURL=auth-profiles.d.ts.map