import type { Client } from "#client/client.js"; import type { MessageResponse } from "#client/message-response.js"; import type { ClientSession } from "#client/session.js"; import type { SendTurnPayload } from "#client/types.js"; /** Send one turn through an owned or attached session, without choosing how to consume its stream. */ export declare function dispatchSessionTurn(input: { client?: Client; session?: ClientSession; turn: SendTurnPayload; beforeSend?: () => void; }): Promise<{ session: ClientSession; response: MessageResponse; created: boolean; }>;