/** * Host-owned outer command boundary. Commander does not guarantee postAction * after every rejected action, so error presentation must run while the staged * scope is still owned and teardown must live in an unconditional finally. */ import type { CommandActionScopeRunner } from './command-action-scope-runner.js'; export interface CommandDispatchBoundaryInput { readonly dispatch: () => Promise; readonly actionScope: CommandActionScopeRunner; readonly presentError: (error: unknown) => Promise; readonly disposeAmbientScope: () => void; } export declare function runCommandDispatchBoundary(input: CommandDispatchBoundaryInput): Promise; //# sourceMappingURL=command-dispatch-boundary.d.ts.map