import type { VendoComposition } from "./compose-context.js"; /** The ORIGIN this deployment's own door answers at: the configured public base (`mcp.baseUrl`, else `VENDO_BASE_URL`), or the origin of the request the caller brought. `undefined` when the deployment has never been told its own public URL and no request carried one — each caller names that fix in its own words, which is why this answers rather than throws. Shared with `vendo.agentTools`, which dials the same door: two spellings of "where am I" would mint a token bound to one resource and spend it at another. */ export declare function doorOrigin({ mcpOptions, configuredBaseUrl }: Pick, who: Request | string): string | undefined; export declare function composeTokenFor(composition: VendoComposition, handler: (request: Request) => Promise): (who: Request | string) => Promise;