import { type CachedStorageState } from "./hydrateStorageState"; import { type AuthCredentials, type ResolveCredentialsOptions } from "./resolveCredentials"; export type { AuthCredentials }; export type LoginOptions = ResolveCredentialsOptions; export interface TrackunitBaseFixtures { login: (options?: LoginOptions) => Promise; } /** * Worker-scoped, in-memory cache of authenticated `storageState` snapshots, * keyed by `(baseURL, username)`. Implementation detail of the `login` * fixture — exposed on the fixtures object so Playwright can manage its * lifecycle, but prefixed with `_` to signal "don't touch from tests". */ export interface LoginCacheFixtures { _loginCache: Map; } /** * Each worker is its own Node process, so a `Map` is sufficient — no * cross-worker sharing concerns, no disk I/O, no cleanup needed. The cache * dies with the worker, which is the desired behaviour: a fresh `nx run` * always starts with empty caches. */ export declare const test: import("@playwright/test").TestType; export { expect } from "@playwright/test";