/** * Recognize URLs that are SLICC's own app shell rather than a page the user * is browsing. * * Two independent reasons these must be excluded from the tray's tab list and * from teleport: * * 1. **Capability leak.** A float's own URL carries `bridgeToken` — the token * that authorizes driving its local CDP bridge. Teleporting that tab * copies the token into another machine's browser (and its history). * `tray=` likewise carries the join URL, which is itself a capability. * 2. **Nonsense destination.** The app shell is the thing you are looking at, * not something to open a second copy of; on the same machine a copy * would boot a second UI against the same bridge. * * Deliberately narrow on the hosted origins: `sliccy.ai/docs/...` is an * ordinary page a user may well want to move, so only app-shell paths match. * The Swift mirror of this rule is `BrowserTargets.isSliccAppPage`. */ export interface SliccAppUrlOptions { /** * Extra origins known to serve the SLICC UI — typically the calling float's * own `location.origin`, which in development is a local wrangler * (`http://localhost:8787`) rather than a hosted origin. */ selfOrigins?: readonly string[]; } /** True when this URL is SLICC's own UI (and so must never be teleported). */ export declare function isSliccAppUrl(rawUrl: string, options?: SliccAppUrlOptions): boolean; //# sourceMappingURL=slicc-app-url.d.ts.map