import type { EventEnvelope } from "./types.js"; export type HostedCall = { /** `:hosted:`, counting the round's hosted calls from 0. */ id: string; tool: string; provider: string; /** One line saying what the call did: its query, or the page it opened. */ gist: string; /** The provider's status, such as `completed`; undefined when not recorded. */ status: string | undefined; failed: boolean; /** The facts the detail pane shows: queries, a URL, the sources found. */ details: Record; /** The provider's own items for this call. */ raw: unknown[]; }; /** A hosted call's title: `HOSTED TOOL CALL · web_search`, so it is never * read as a tool the runtime ran. A failed call starts with ✖. */ export declare function hostedCallTitle(call: HostedCall): string; /** The name a narrow list gives a hosted call: `hosted · web_search`. */ export declare function hostedCallShortLabel(call: HostedCall): string; /** The calls recorded on one LLM call's completion event. `roundId` is the * id of the round that event is, so each call's id names its round. */ export declare function hostedCallsIn(event: EventEnvelope, roundId: string): HostedCall[]; /** The round a hosted call ran in, as a row id. Any other id comes back * unchanged. `round:L:0:hosted:1` gives `round:L:0`. A screen that does * not draw the hosted row focuses the LLM call that ran it instead. */ export declare function owningRowId(id: string): string;