export type NetworkAPI = 'fetch' | 'xhr' | 'html'; export interface NetworkEvent { type: 'network'; api: NetworkAPI; request: { url: string; method?: string; // "GET", "POST" (undefined for