import type { NetworkNode } from "@/api/client";

export interface HistoryEntry {
  path: string;
  html: string | null;
  error: string | null;
}

export interface BrowseWinData {
  node: NetworkNode;
  pageHtml: string | null;
  pageLoading: boolean;
  pageError: string | null;
  currentPath: string;
  history: HistoryEntry[];
  historyIndex: number;
}
