type Fetch = typeof globalThis.fetch; export interface PluginRouteClientOptions { /** Publish a remote roster only after the official Session catalog has caught up. */ beforeResponse?(status: Record, body: Record, json: unknown, signal: AbortSignal): Promise; } /** Route authority is read before each plugin request, including the first page load. */ export declare function createPluginRouteFetch(original: Fetch, baseUrl: string, options?: PluginRouteClientOptions): Fetch; export interface PluginRouteSessions { list: { getSnapshot(): { ids: readonly string[]; phase: string; }; }; refresh?(): Promise; } /** `ready` is monotone in Harness; prove membership instead of trusting refresh's void result. */ export declare function createPluginRouteCatalogGuard(readSessions: () => Promise): NonNullable; export {}; //# sourceMappingURL=plugin-route-client.d.ts.map