import type { ApplicationStandIn } from './events.js'; /** A call to a vendor the World runs no twin of. */ export declare class VendorUnreachableError extends Error { constructor(message: string, options?: ErrorOptions); } /** A twin answered in this process: its fetch, as a World's server hands it a request. */ export type InProcessTwin = (request: Request) => Response | Promise; /** The twins this process answers itself, by routing key (a key of VENDOR_HOSTS: a journey walk's companions, over the * walk's own World), consulted before the instance's; returns those set before, which the caller puts back. */ export declare function setInProcessTwins(twins: Readonly>): Readonly>; /** A vendor URL (or the World's application), including redirects, always answered inside the World; `standIn` is the * calling fetch's application stand-in (PackFetchOptions.application), consulted at every hop. */ export declare function vendorFetch(url: string | URL, init?: RequestInit, standIn?: ApplicationStandIn): Promise;