import { type ActionLedgerCapabilityDefinition, type ActionLedgerCapabilityRegistry, type ActionLedgerCapabilityRisk } from "@voyant-travel/action-ledger/capability"; import type { VoyantGraphRuntime } from "./runtime-lowering.js"; export type VoyantGraphActionRiskEvaluator = (context: TContext) => ActionLedgerCapabilityRisk; export interface LowerVoyantGraphActionsOptions { /** * Runtime-only behavior that cannot be serialized in a package manifest. * Keys use the action-ledger `id@version` form. */ riskEvaluators?: Readonly>>; } /** * Lower exactly the actions selected by a generated graph into the shared * action-ledger registry contract. Graph scopes become required grants; the * Explicit capability identity and resource/action metadata are preferred, * with graph identity, target type, and the terminal action-id segment retained * as compatibility fallbacks. */ export declare function lowerVoyantGraphActionsToActionLedgerRegistry(runtime: VoyantGraphRuntime, options?: LowerVoyantGraphActionsOptions): ActionLedgerCapabilityRegistry>;