/* eslint-disable prefer-const, no-console, style/max-statements-per-line, general/prefer-template */ /** * STX Router - Canonical SPA Router * * Single source of truth for client-side navigation. * Injected via @stxRouter directive or auto-loaded with the signals runtime. * * Features: * - Click interception for internal links * - History API pushState navigation * - View Transitions API with CSS fade fallback * - style swapping (prevents unstyled flash) * - Smart script filtering (skip signals runtime, layout guards) * - Page prefetching on hover * - Response caching (5-minute TTL) * - Active link class management (data-stx-link) * - Loading indicator bar * - Configurable via window.STX_ROUTER_OPTIONS or window.__stxRouterConfig */ export declare function getRouterScript(): string;