import type { RouteDefinition, MatchedRoute } from './types.js'; /** * LIFO stack for storing route definitions in the Node Playwright process. * Adapted from AMW RouteStore. */ export declare class RouteStore { private routes; /** * Adds a route to the top of the stack (LIFO). */ add(route: RouteDefinition): void; /** * Yields all matching routes for a request, allowing fallback support. */ findMatches(url: string, method: string, headers: Record): Generator; /** * Removes a route by its ID. */ removeById(id: number): void; /** * Clears all routes. */ reset(): void; /** * Checks if request headers match required headers. */ private headersMatch; }