import type { CommandStore } from './command-dispatcher.js'; import { type OrderObservation } from './effect-match.js'; /** 봉투에서 오더 보고만 골라낸다 — 다른 어휘는 보지 않는다. */ export declare function orderObservationsIn(envelopes: readonly any[]): OrderObservation[]; export interface SettleEffectsResult { /** 효과를 적은 조치 수. */ recorded: number; /** 이을 수 없던 보고 수 — 대개 우리가 내지 않은 오더다. */ unmatched: number; } /** * 이 묶음의 오더 보고를 나간 지시와 잇는다 — **아무것도 못 이어도 조용히 지난다.** * * 유입 경로에서 부른다. 그래서 **던지지 않는다** — 효과를 적다 실패해서 관측 유입이 멈추면, 고치는 * 동안 트윈이 눈을 감는다. 효과는 다음 보고에 다시 이을 수 있고 관측은 다시 오지 않는다. */ export declare function settleEffects(args: { domainId: string; envelopes: readonly any[]; store: CommandStore; }): Promise;