/* eslint-disable */
// [TSM.ID].[11031972] -- All Rights Reserved. Proprietary & Confidential.
declare global {
	interface WebTransport {
		ready: Promise<void>;
		close(): void;
		createBidirectionalStream(): Promise<WebTransportBidirectionalStream>;
	}
	interface WebTransportBidirectionalStream {
		readable: ReadableStream;
		writable: WritableStream;
	}
	interface VideoDecoder {
		state: string;
		configure(config: unknown): void;
		decode(chunk: unknown): void;
		close(): void;
	}
	interface VideoEncoder {
		state: string;
		configure(config: unknown): void;
		encode(frame: unknown, options?: unknown): void;
		close(): void;
	}
	interface MediaStreamTrackProcessor {
		readable: ReadableStream;
	}
	interface SpeechRecognition {
		continuous: boolean;
		interimResults: boolean;
		lang: string;
		onresult: (event: { resultIndex: number; results: any[] }) => void;
		onerror: (event: unknown) => void;
		start(): void;
		stop(): void;
	}
	var WebTransport: new (url: string) => WebTransport;
	var VideoDecoder: new (init: unknown) => VideoDecoder;
	var VideoEncoder: new (init: unknown) => VideoEncoder;
	var MediaStreamTrackProcessor: new (init: unknown) => MediaStreamTrackProcessor;
	var EncodedVideoChunk: new (init: unknown) => unknown;
}
export {};

