import { type FailureContext } from "../shared/failure-report.js"; export type { FailureContext } from "../shared/failure-report.js"; /** * What the browser knows about one failure. The thread is the one the caller * names, else the one open in the URL, else the active run's. `appId` is the * host: it says app and environment in one token and matches the thread link. */ export declare function clientFailureContext(input?: Partial): FailureContext; /** * The plain-text packet behind a "Copy details" button on an error card or * toast: app, thread link, run, request, code, time and build, one per line. */ export declare function formatClientFailureReport(input?: Partial & { message?: string; }): string;