File size: 759 Bytes
bee6636
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
declare const scramjetPath: string;

import * as controller from "../dist/types/controller/index.ts";
import * as worker from "../dist/types/worker/index.ts";
import * as types from "../dist/types/types.ts";
import * as frame from "../dist/types/controller/frame.ts";

declare global {
	function $scramjetLoadController(): typeof controller;
	function $scramjetLoadWorker(): typeof worker;
	function $scramjetLoadClient(config: ScramjetConfig);
	type ScramjetController = controller.ScramjetController;
	type ScramjetFrame = frame.ScramjetFrame;

	type ScramjetConfig = types.ScramjetConfig;
	type ScramjetInitConfig = types.ScramjetInitConfig;
	var $scramjetVersion: {
		build: string;
		version: string;
	};
}
export { scramjetPath };