import type { CreateVendoConfig, Vendo } from "./types.js"; export type { CreateVendoConfig, TextChannelApi, Vendo, VendoChannels } from "./types.js"; export { vendo, type VendoHarnessDeps, type VendoHarnessOptions } from "./harnesses/index.js"; export { screenAssembler, type ScreenAssemblerDeps } from "./screen-agent.js"; export type { HarnessTurns } from "./harness-turn.js"; export type { AppsConfig } from "./apps/index.js"; export { eraseStore, type EraseReport, type EraseTable } from "./store/index.js"; export { createStore, envSecrets, secretStore, storeSecrets } from "./store/index.js"; export { hostAuthPresetConformance, type HostAuthPreset, type HostAuthPresetConformanceOptions, type HostAuthPresetOptions, type HostAuthPresetUser, type HostAuthPresetUserResolver, type SupabaseHostAuthPresetOptions, } from "./auth-presets/index.js"; export { vendoModel, type VendoModelOptions, type VendoModelSlot } from "#dev-creds/model"; export { type ModelsConfig } from "./models-config.js"; export { byoConnections, cloudConnections, unconfiguredConnections, type CloudConnectionsOptions, type ConnectionsService, } from "./connections.js"; export { cloudTextChannel, unconfiguredChannels, type ChannelsService, type CloudTextChannelOptions, type InboundEvent, type InboundLinkEvent, type InboundTextEvent, type TextChannelRegistration, } from "./channels.js"; export { cloudSandbox, type CloudSandboxOptions } from "./sandbox.js"; export { chainSecrets, cloudSecrets, type CloudSecretsOptions } from "./cloud-secrets.js"; export { cloudTools, type CloudToolsOptions } from "./cloud-tools.js"; export { cloudDirectory, type CloudDirectory, type CloudDirectoryOptions } from "./cloud-directory.js"; export { tenantLimits } from "./tenant-limits.js"; export { createLimiter, type Limiter, type LimitVerdict } from "./limits.js"; export { doorWellKnownPaths } from "./door-paths.js"; export { mcpConnector, openApiConnector, type ConnectorAuthContext, type ConnectorHeadersResolver, } from "./actions/index.js"; export { selectConfigSurface, isConfigSurface, CONFIG_SURFACES, type ConfigSurfaceName, type ConfigSurfaceOwner, } from "./core/index.js"; export { hostedStore, hostedStoreOps, type HostedStore, type HostedStoreOptions } from "./store/index.js"; export { s3Files, type S3FilesOptions } from "./store/index.js"; export { mergeCapability, toolsFromRegistry, type Contribution, type MergedCapability, } from "./capability/index.js"; export { UNATTENDED_IRREVERSIBILITY_RULE } from "./automations/index.js"; export type { CatalogFile, ExtractedTool, OverridesFile, ServerActionHandler } from "./actions/index.js"; export type { VendoAgent as ComposedAgent } from "./turn/index.js"; export type { VendoNavigation, VendoRoute, VendoRouteMap, VendoTheme, } from "./core/apps/index.js"; export type { PolicyFile } from "./guard/index.js"; export { guard, createGuard, type GuardRules, type VendoGuard } from "./guard/index.js"; /** * 09-vendo §2 — compose every live block around the guard choke point. * * An assembler, and nothing else: `createComposition` wires the phases * (compose-context.ts), `wireDepsFor` hands the wire what they produced, and * `vendoInstance` is the handle the host holds. */ export declare function createVendo(input: CreateVendoConfig): Vendo; /** 09-vendo §2 — adapt the fetch handler to a Next.js catch-all route module. PATCH stays exported even with no PATCH-only wire route left: Next.js 405s any method the module does not export before the request ever reaches `vendo.handler`, so dropping it would turn e.g. `PATCH /api/vendo/orgs/:id/members/:subject` into a framework 405 instead of the wire's own `cloud-required` seam (the org routes matched ANY method — orgsRoutes in wire/misc.ts). PUT carries the box callback surface's durable-row writes (execution-v2 Lane C: PUT /api/vendo/box/rows/:collection/:id). */ export declare function nextVendoHandler(vendo: Vendo): { GET(request: Request): Promise; POST(request: Request): Promise; PUT(request: Request): Promise; PATCH(request: Request): Promise; DELETE(request: Request): Promise; }; /** 10-mcp §5 — adapt the fetch handler to a Next.js `app/.well-known/[...vendo]/ route.ts` module. The four discovery documents the door serves (RFC 9728/ 8414 metadata for its fixed mount, plus the SEP-2127 server card) live at ORIGIN-ROOT paths, outside BASE_PATH — a host's `/api/vendo` catch-all route never sees them, because Next.js dispatches by directory structure, not by the wire's own routing. This file exists so that directory gets a handler too, one that shares this composition's own door path set with the wire itself (the SAME set `isDoorPath` matches — `doorWellKnownPaths`, so a path-mounted deployment answers both spellings here too) instead of a hand-copied allowlist that can drift from it. A request whose pathname is exactly one of those paths forwards to `vendo.handler` (which independently confirms it's a door path and, if `mcp` is configured, serves it — the check here is only about which requests reach the wire at all); anything else answers 404 with an empty body, mirroring the hand-written route this replaces. With `mcp` left unconfigured, `vendo.handler` still recognizes these paths but has no door to serve them, so the request falls through to the wire's ordinary not-found response — never a 500. */ export declare function wellKnownVendoHandler(vendo: Vendo): { GET(request: Request): Promise; POST(request: Request): Promise; };