import { type GenericTreePaths } from 'spa-router-vir'; import { type UrlOverrides } from 'url-vir'; import { type UniversalTestContext } from '../augments/universal-testing-suite/universal-test-context.js'; /** * Converts {@link NavOptions} into an actionable URL string. * * @category Internal */ export declare function extractNavUrl(testContext: Readonly, options: Readonly): string; /** * Used for the `path` argument of `testPlaywright.nav`. * * @category Internal */ export type NavOptions = Omit & { /** If not provided, the page's current URL will be used. */ baseFrontendUrl?: string | undefined; paths?: string[] /** Prefer using tree paths with `frontendPathTree` */ | GenericTreePaths; }; /** * The test name appended to the frontend when `testPlaywright.nav` is used. * * @category Internal */ export declare const playwrightTeatNameUrlParam = "test-name"; /** * Navigate to a URL in Playwright via given paths. * * @category Internal */ export declare function navigateTo(testContext: Readonly, options: Readonly): Promise;