import type { AgentToolResult, Theme } from "@earendil-works/pi-coding-agent"; import { Container } from "@earendil-works/pi-tui"; import type { WebFetchProvider } from "./index.js"; export type FetchUrlDetails = { provider?: WebFetchProvider; subject?: string; title?: string | null; statusCode?: number | null; render_markdown?: string; preview_text?: string; }; export declare function formatFetchUrlError(message: string, details?: FetchUrlDetails): { content: { type: "text"; text: string; }[]; details: FetchUrlDetails; isError: true; }; export declare function renderFetchUrlResult(result: AgentToolResult, theme: Theme, options: { expanded: boolean; isPartial?: boolean; }): Container | import("@earendil-works/pi-tui").Text; //# sourceMappingURL=render.d.ts.map