import type { Model } from "./providers";
import { type CoreMessage } from "ai";
export declare function getId(message: CoreMessage): string;
export declare function isNativeTool(toolName: string | undefined): toolName is "apply_patch" | "shell";
export type MessageType = "message" | "function_call" | "function_call_output" | "reasoning" | "mcp_call" | "mcp_output";
export declare function getMessageType(item: CoreMessage): MessageType;
export declare function getReasoning(item: CoreMessage): string | null;
export declare function getToolCall(message: CoreMessage): import("ai").ToolCallPart | null;
export declare function getToolCallResult(message: CoreMessage): import("ai").ToolResultPart | null;
export declare function getTextContent(message: CoreMessage): string;
export declare function calculateContextPercentRemaining(items: Array<CoreMessage>, model: string): number;
export declare function getAvailableModels(): Array<Model>;
