import type { TTriggerPromise } from "../../query/types/index.js"; /** * Wrap a raw mutation promise into a {@link TTriggerPromise}: the returned * promise never rejects — it resolves with a {@link TTriggerResult} envelope * (`{ status: "success", data }` / `{ status: "error", error }`), while * `unwrap()` hands back the original throwing promise. * * Backs agent/hook-level `trigger`; also usable directly to wrap the raw * `Command.execute` promise. */ export declare function wrapTrigger(promise: Promise): TTriggerPromise;