Files
gnommoeditor/dist/glitch/glitch_assumption_toggle/devHostBridge.d.ts
T

9 lines
425 B
TypeScript
Raw Normal View History

2026-04-11 09:24:21 +02:00
import type { GlitchHostBridge } from './types';
export type DevHostBridgeOptions = {
isMuted?: () => boolean;
onSound?: (id: string, payload?: Record<string, unknown>) => void;
onEmit?: (type: string, payload?: unknown) => void;
};
export declare function createDevHostBridge(options?: DevHostBridgeOptions): GlitchHostBridge;
export declare function attachWindowSoundBridge(host: GlitchHostBridge): () => void;