import type { NormalizedUsage } from "../../agents/usage.js"; import type { ReplyPayload } from "../types.js"; export declare const isBunFetchSocketError: (message?: string) => boolean; export declare const formatBunFetchSocketError: (message: string) => string; export declare const formatResponseUsageLine: (params: { usage?: NormalizedUsage; showCost: boolean; costConfig?: { input: number; output: number; cacheRead: number; cacheWrite: number; }; }) => string | null; export declare const appendUsageLine: (payloads: ReplyPayload[], line: string) => ReplyPayload[];