import type { Context } from "../types"; import type { Dialect, InbandTool } from "./types"; export declare function encodeInbandToolHistory(messages: Context["messages"], dialect: Dialect, tools?: readonly InbandTool[]): Context["messages"];