import type { RouteChainEntry } from './cache.js'; export interface RouteBoundary { component: string; container: Element | ShadowRoot; keepAlive: boolean; } export interface BoundaryPathMatch { consumed: number; specificity: number; } export declare function findPendingComponent(activeChain: RouteChainEntry[], requestPath: string): RouteBoundary | null; export declare function findErrorComponent(activeChain: RouteChainEntry[], requestPath: string): RouteBoundary | null; export declare function splitBoundaryPath(requestPath: string): string[]; export declare function matchBoundaryPath(path: string, exact: boolean, requestSegments: string[], base: number, result: BoundaryPathMatch): boolean;