/** * nav recipe — navigation, deep-linking, back/forward, 404 handling. * * Lifted from the PROVEN NQ-2 Playwright navigation suite and CaseLoom Cypress * navigation specs. Real selector and navigation patterns, re-derived from * first principles. * * NQ-2 Playwright nav reference patterns: * - page.goto('/about') * - expect(page).toHaveURL(/\/about/) * - await page.goBack() * - expect(page).toHaveURL('/') * - page.goto('/nonexistent-route-that-404s') * - expect(page.locator('[data-testid=not-found]')).toBeVisible() OR * - expect(page.getByText('404')).toBeVisible() * * CaseLoom Cypress nav reference patterns: * - cy.visit('/about') * - cy.url().should('include', '/about') * - cy.go('back') * - cy.url().should('eq', Cypress.config('baseUrl') + '/') */ import type { NeutralScenario } from '../schemas/gap-analysis.schema.js'; import type { RecipeConfig } from '../schemas/recipe.schema.js'; /** * Generate NeutralScenarios for the nav recipe. * * Returns 3 scenarios: * 1. Deep-link routes — direct navigation lands on the correct page * 2. Browser-back — back button returns to the previous route * 3. 404 handling — unknown routes show a user-friendly not-found page */ export declare function buildNavScenarios(config?: RecipeConfig): NeutralScenario[]; //# sourceMappingURL=nav.d.ts.map