Files
gnommoplayer/public/glitch/glitch_lightlane/devHostBridge.d.ts
T
2026-04-11 09:21:22 +02:00

9 lines
425 B
TypeScript

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;