import { ProjectUIDL, UIDLInstallableWebApp } from '@teleporthq/teleport-types'; /** * A route as the prefix pattern the worker matches: lower-case, no trailing * slash, cut at the first dynamic segment (`/orders/[id]` → `/orders`). The * worker treats a pattern as that path and everything beneath it — except `/`, * which only ever means the home page. A route that is dynamic from its first * segment has no static prefix to match and yields nothing: making every page * of the site network-only would disable the app to protect one route. */ export declare const toNetworkOnlyPattern: (route: string) => string | null; /** * Everything the installable app must fetch from the network every time: the * fixed prefixes, the routes the authentication settings protect (the same * list the generated middleware guards), the sign-in / sign-up pages, and the * private pages the editor knows about (cart, checkout, orders, account…). */ export declare const collectNetworkOnlyPatterns: (uidl: ProjectUIDL, app: UIDLInstallableWebApp) => string[]; //# sourceMappingURL=network-only-paths.d.ts.map