import type { CompositionReceipt, FxNode, FxNodeView } from "@lib/index.js"; import type { PreparedFxNodeBrowserHost } from "./browser-host.js"; declare global { interface StandaloneExampleHandle { root: FxNode | null; view: FxNodeView | null; host: PreparedFxNodeBrowserHost; ready: Promise; graphVersion?: number; lastCompositionReceipt?: CompositionReceipt; cleanup(): void; } interface Window { fxnodeStandalone: StandaloneExampleHandle; fxnodeMultiView: MultiViewExampleHandle; } interface MultiViewExampleHandle { root: FxNode | null; views: FxNodeView[]; ready: Promise; cleanup(): Promise; renderCounts: number[]; } } export {};