Skip to content

Write HTML. Render video. Built for agents.

272 B
Raw Blame
export interface HFDebugSurface {
  __hfDebug?: boolean;
  __HYPERFRAMES_DEBUG?: boolean;
  __hf?: {
    onSwallowed?: (event: { label: string; error: unknown }) => void;
  };
}

export function getDebugSurface(): HFDebugSurface {
  return globalThis as HFDebugSurface;
}