import type { ToolPresenter } from '../../registry/tool/presentation.js'; import type { AcpSessionUpdate, AcpStopReason } from '../../types/acp/index.js'; import type { SessionEvent } from '../../types/session/events.js'; import type { StopReason } from '../../types/session/stop-reason.js'; export declare function toAcpStopReason(reason: StopReason | string | undefined): AcpStopReason; /** * One session event as a session update, or `null`. * * Takes the presenter rather than reaching for a registry, so this stays * pure and so a caller with a narrowed registry gets that narrowing. */ export declare function toAcpSessionUpdate(event: SessionEvent, presenter: ToolPresenter): AcpSessionUpdate | null; //# sourceMappingURL=update.d.ts.map