import type { A2AStreamEvent } from '../../types/a2a/index.js'; import type { SessionEvent } from '../../types/session/events.js'; /** * One session event as an A2A stream event, or `null` for the events a peer * modelling a task lifecycle has no use for. * * `taskId` is the event's turn. `contextId` is the session as the peer knows * it: pass the peer's own context id when the session was reached through * one; absent, the event's `sessionId` is used. */ export declare function mapTurnToA2AEvent(event: SessionEvent, contextId?: string): A2AStreamEvent | null; /** @deprecated Use mapTurnToA2AEvent */ export declare const mapSessionToA2AEvent: typeof mapTurnToA2AEvent; //# sourceMappingURL=mapper.d.ts.map