import type { EffectPreparedAction, ExecutionCapability, ExecutorScope } from "@decionis/agent-safe-pipeline"; import { EffectAdapterExecutor, type ActionDescription } from "../EffectAdapterExecutor.js"; import { type BankingAction } from "./BankingAction.js"; import type { BankingAdapter } from "./BankingAdapter.js"; export declare const CORE_BANKING_PLATFORM = "core-banking"; export interface BankingExecutorOptions { readonly adapter: BankingAdapter; /** What the connection can execute; absent, every registered action is stated as live. */ readonly capabilities?: (scope: ExecutorScope) => Promise; readonly clock?: () => Date; } /** * The banking family on `agent-safe.executors.native/1`, dispatch style: the * BEAP adapter performs the write against the core, once, inside the * dispatch the runner opens. Everything the family does — the profile's * arithmetic, the projection, the comparison, the effect record — is the * adapter's, unchanged; this class says how a BEAP action reads as an * intent: * * - the action is the transport name the profile assigns * (`beap..`) and the resource its target; * - the system of record is the downstream provider and operation the * action names; * - the retry identity is the action's own `request_id`, which the core * holds as its idempotency key (by digest when it is longer than an * intent carries); * - the facts the authority decides with are the domain, the action type and * the registered effect, never an amount or an account. */ export declare class BankingExecutor extends EffectAdapterExecutor { constructor(options: BankingExecutorOptions); } /** How a BEAP action reads as an `agent-safe.intent/1` binding. */ export declare function describeBankingAction(action: BankingAction, prepared: EffectPreparedAction): ActionDescription; //# sourceMappingURL=BankingExecutor.d.ts.map