/** Content-free, in-memory diagnostic scopes. These never establish stop proof. */ export declare const ADAPTER_EXECUTION_PHASES: readonly ["host_execution", "adapter_execution", "end_session", "cancel_turn", "close_session", "settle_reuse", "stop_transport", "sync_back", "instruction_collection", "workspace_restore", "phase_reporting", "instruction_cleanup", "lease_release"]; export type AdapterExecutionPhase = (typeof ADAPTER_EXECUTION_PHASES)[number]; export type AdapterExecutionPhaseSink = (phase: AdapterExecutionPhase) => (() => void) | void; export declare function isAdapterExecutionPhase(value: unknown): value is AdapterExecutionPhase; /** A broken diagnostic sink must not change execution or teardown outcomes. */ export declare function withAdapterExecutionPhase(context: { onExecutionPhase?: AdapterExecutionPhaseSink; }, phase: AdapterExecutionPhase, operation: () => T | Promise): Promise; //# sourceMappingURL=execution-phase.d.ts.map