export type TrajectoryExportOptions = { cwd: string; sessionId: string; runId: string; home?: string; }; export type TrajectoryShareOptions = TrajectoryExportOptions & { ghPath?: string; }; export type TrajectoryShareResult = { gistUrl: string; shareUrl: string; }; /** * Renders one persisted workflow run as a self-contained HTML document: the * live Trajectory UI with its scripts inlined and the run injected as static * state instead of a WebSocket connection. */ export declare function exportTrajectoryRunHtml(options: TrajectoryExportOptions): Promise; /** * Exports one persisted run and uploads it as a secret GitHub gist through the * user's own `gh` CLI. Secret gists are unlisted, not private: anyone with the * link can read the full report. */ export declare function shareTrajectoryRun(options: TrajectoryShareOptions): Promise;