/** * `@nwire/app` — composition root. `createApp` constructs a Runtime, runs * plugin lifecycle, and exposes the fluent verbs that move the App's typed * capability set. `createRuntime` exposes the raw substrate for cases that * need the dispatch core without the App layer on top. */ export { Runtime, createRuntime, serializeError, messageRef, type MessageRef, type DispatchHookCtx, type DispatchMiddleware, type HookStepTelemetry, type RuntimeOptions, type SerializedError, type Telemetry, type TelemetryListener, type FrameworkHooks, type PluginKind, type PluginDefinition, type PluginContext, } from "./runtime/index.js"; export { createAppHooks, isAppHook, type AppHooks, type AppHookSlot } from "./app-hooks.js"; export { definePlugin, isPlugin } from "./define-plugin.js"; export { createApp, type App, type AppBase, type CreateAppOptions, type DiscoverOptions, } from "./create-app.js"; export { publicSurfaceKey, type AppPublicSurface, type PublicSurfaceKey, } from "./app-public-surface.js"; export { discoverPrimitives, classifyModules, collectFiles, mergeByName, type DiscoveredPrimitives, } from "./app-discovery.js"; export { defineRegistry, assertValidRegistry, RegistryValidationError, type AppRegistry, type RegistryInput, } from "./registry.js"; export type { PluginContributions } from "./lifecycle.js"; export { appCompose, containerOf, type AppComposeOptions, type CollisionPolicy, } from "./compose-app.js"; export { subscribe, isSubscription, type Subscription, type WhenFn } from "./subscribe.js"; export { publishCapability, publishPlugin, type PublishCaps } from "./publish.js"; export { defineCapability, type Capability, type CapabilityBase, type OutboundStage, type StagePosition, type StageContext, installTelemetryReporter, type TelemetryReporter, } from "@nwire/runtime"; export type { HandlerBaseCtx, Ctx } from "@nwire/handler";