import { type ResolvedVoyantDeploymentGraph, type VoyantGraphRuntimeTarget } from "./deployment-graph.js"; import { createVoyantGraphRuntime, type VoyantGraphRuntime } from "./runtime-lowering.js"; export { type CreateVoyantGraphRuntimeInput, registerVoyantGraphTools, VOYANT_GRAPH_RUNTIME_LOAD_ERROR_CODES, type VoyantGraphRuntimeActionDefinition, type VoyantGraphRuntimeConfigDefinition, type VoyantGraphRuntimeConfigLoader, type VoyantGraphRuntimeJobDefinition, type VoyantGraphRuntimeJobHandler, type VoyantGraphRuntimeJobLoader, VoyantGraphRuntimeLoadError, type VoyantGraphRuntimeLoadErrorCode, type VoyantGraphRuntimeProviderDefinition, type VoyantGraphRuntimeProviderLoader, type VoyantGraphRuntimeReferenceDefinition, type VoyantGraphRuntimeReferenceFacet, type VoyantGraphRuntimeReferenceLoader, type VoyantGraphRuntimeResourceDefinition, type VoyantGraphRuntimeRouteDefinition, type VoyantGraphRuntimeRouteLoader, type VoyantGraphRuntimeSecretDefinition, type VoyantGraphRuntimeSecretLoader, type VoyantGraphRuntimeSelectedIds, type VoyantGraphRuntimeToolDefinition, type VoyantGraphRuntimeToolLoader, type VoyantGraphRuntimeUnitDefinition, type VoyantGraphRuntimeUnitLoader, type VoyantGraphRuntimeWebhookPlan, } from "./runtime-lowering.js"; export { type ResolvedVoyantGraphRuntimeProviders, type ResolveVoyantGraphRuntimeProvidersInput, resolveVoyantGraphRuntimeProviders, type SelectedVoyantGraphRuntimeProvider, VOYANT_GRAPH_RUNTIME_PROVIDER_ERROR_CODES, type VoyantGraphProviderFactory, type VoyantGraphProviderFactoryContext, VoyantGraphRuntimeProviderError, type VoyantGraphRuntimeProviderErrorCode, type VoyantGraphRuntimeProviderIssue, } from "./runtime-providers.js"; export { type ResolvedVoyantGraphRuntimeConfig, type ResolvedVoyantGraphRuntimeSecret, type ResolvedVoyantGraphRuntimeValues, type ResolveVoyantGraphRuntimeValuesInput, resolveVoyantGraphRuntimeValues, VOYANT_GRAPH_RUNTIME_VALUE_ERROR_CODES, VoyantGraphRuntimeValueError, type VoyantGraphRuntimeValueErrorCode, type VoyantGraphRuntimeValueIssue, } from "./runtime-values.js"; export { createVoyantGraphRuntime, type VoyantGraphRuntime }; export declare const VOYANT_DEPLOYMENT_ARTIFACTS_SCHEMA_VERSION: "voyant.deployment-artifacts.v1"; export declare const VOYANT_NODE_RUNTIME_ENTRY_ID: "@voyant-travel/framework#runtime.node"; export type VoyantDeploymentRuntimeEntryKind = "node"; export interface VoyantDeploymentRuntimeEntryArtifact { id: string; target: VoyantGraphRuntimeTarget; file: string; graphHash: string; kind: VoyantDeploymentRuntimeEntryKind; } export interface VoyantDeploymentMigrationSourceArtifact { packageName: string; schema: string; } export interface VoyantDeploymentArtifactManifest { schemaVersion: typeof VOYANT_DEPLOYMENT_ARTIFACTS_SCHEMA_VERSION; graphHash: string; graph: string; accessCatalog: ResolvedVoyantDeploymentGraph["accessCatalog"]; eventCatalog: ResolvedVoyantDeploymentGraph["eventCatalog"]; reportingCatalog: ResolvedVoyantDeploymentGraph["reportingCatalog"]; webhookPlan: ResolvedVoyantDeploymentGraph["webhookPlan"]; runtimeEntries: readonly VoyantDeploymentRuntimeEntryArtifact[]; migrationSources: readonly VoyantDeploymentMigrationSourceArtifact[]; } export interface BuildDeploymentArtifactManifestInput { graph: ResolvedVoyantDeploymentGraph; graphArtifactPath: string; runtimeEntries: readonly VoyantDeploymentRuntimeEntryArtifact[]; migrationSources?: readonly VoyantDeploymentMigrationSourceArtifact[]; } export interface BuildNodeRuntimeEntryArtifactInput { graph: ResolvedVoyantDeploymentGraph; file: string; id?: string; } export interface BuildNodeRuntimeEntryInput { graph: ResolvedVoyantDeploymentGraph; graphArtifactPath: string; graphRuntimePath?: string; command?: string; } export interface BuildGraphRuntimeModuleInput { graph: ResolvedVoyantDeploymentGraph; command?: string; /** Build-time import lowering for admitted project-relative packages. */ runtimeEntryOverrides?: Readonly>; /** Base URL used only when materializing relative runtime entries in memory. */ runtimeImportBaseUrl?: string; } /** Materialize an admitted graph for Node-side tooling without generated source evaluation. */ export declare function createResolvedGraphRuntime(input: BuildGraphRuntimeModuleInput): VoyantGraphRuntime; export interface BuildProjectRuntimeModuleInput extends BuildGraphRuntimeModuleInput { } export interface BuildGraphAdminBundleModuleInput extends BuildGraphRuntimeModuleInput { } export interface BuildGraphPresentationBundleModuleInput extends BuildGraphRuntimeModuleInput { } export interface BuildGraphAccessCatalogModuleInput { graph: ResolvedVoyantDeploymentGraph; command?: string; } export declare function buildDeploymentGraphJson(graph: ResolvedVoyantDeploymentGraph): string; /** Emit the access catalog compiled exclusively from the selected project graph. */ export declare function buildGraphAccessCatalogModule(input: BuildGraphAccessCatalogModuleInput): string; /** Emit the import-cheap admin factories opted into the selected package graph. */ export declare function buildGraphAdminBundleModule(input: BuildGraphAdminBundleModuleInput): string; /** Emit the bounded type surface paired with the generated admin ESM artifact. */ export declare function buildGraphAdminBundleDeclarationModule(input: BuildGraphAdminBundleModuleInput): string; /** Emit frontend presentation factories opted into the selected package graph. */ export declare function buildGraphPresentationBundleModule(input: BuildGraphPresentationBundleModuleInput): string; /** Emit the bounded type surface paired with the generated presentation ESM artifact. */ export declare function buildGraphPresentationBundleDeclarationModule(input: BuildGraphPresentationBundleModuleInput): string; /** Emit target-neutral lazy package loaders without evaluating imports. */ export declare function buildGraphRuntimeModule(input: BuildGraphRuntimeModuleInput): string; /** Emit the target-neutral application runtime used by lifecycle commands. */ export declare function buildProjectRuntimeModule(input: BuildProjectRuntimeModuleInput): string; export declare function buildDeploymentArtifactManifest(input: BuildDeploymentArtifactManifestInput): VoyantDeploymentArtifactManifest; /** Lower schema inputs for packages with migrations selected into the resolved graph. */ export declare function buildDeploymentMigrationSources(graph: ResolvedVoyantDeploymentGraph): VoyantDeploymentMigrationSourceArtifact[]; export declare function buildNodeRuntimeEntryArtifact(input: BuildNodeRuntimeEntryArtifactInput): VoyantDeploymentRuntimeEntryArtifact; export declare function buildNodeRuntimeEntry(input: BuildNodeRuntimeEntryInput): string;