import type { TuiRuntimeSnapshot } from "./snapshot-schema"; import type { BackgroundTaskSnapshot } from "../background-agent/types"; export type TuiMirrorClient = { readonly session: { readonly status: () => Promise; readonly messages: (input: { readonly path: { readonly id: string; }; }) => Promise; }; }; export type SessionStatusRow = { readonly type: string; }; export type SessionStatusMap = Record; export type TuiBackgroundSnapshotProvider = { readonly getTasksSnapshot: () => readonly BackgroundTaskSnapshot[]; }; export type SessionAgentResolver = (sessionID: string, client: TuiMirrorClient) => Promise; export type BuildTuiRuntimeSnapshotInput = { readonly client: TuiMirrorClient; readonly projectDir: string; readonly backgroundManager: TuiBackgroundSnapshotProvider; readonly getStatuses?: () => Promise; readonly sessionAgentResolver?: SessionAgentResolver; }; export declare function buildTuiRuntimeSnapshot(input: BuildTuiRuntimeSnapshotInput): Promise;