import type { Page } from '@playwright/test'; export type AuthActions = (page: Page) => Promise; /** * Performs authentication in a separate browser context and returns * a snapshot of the browser storage * * @param authActions Authentication actions */ export declare function getStorageState(authActions: AuthActions): Promise<{ cookies: Array<{ name: string; value: string; domain: string; path: string; expires: number; httpOnly: boolean; secure: boolean; sameSite: "Strict" | "Lax" | "None"; }>; origins: Array<{ origin: string; localStorage: Array<{ name: string; value: string; }>; }>; }>;