gyghhhhhhhh

This commit is contained in:
CoolElectronics 2024-02-09 23:38:32 -05:00
commit 86abdca21e
No known key found for this signature in database
GPG key ID: F63593D168636C50
23 changed files with 1464 additions and 0 deletions

26
dist/Switcher.d.ts vendored Normal file
View file

@ -0,0 +1,26 @@
import { BareTransport } from "./BareTypes";
declare global {
interface ServiceWorkerGlobalScope {
gSwitcher: Switcher;
BCC_VERSION: string;
BCC_DEBUG: boolean;
}
interface WorkerGlobalScope {
gSwitcher: Switcher;
BCC_VERSION: string;
BCC_DEBUG: boolean;
}
interface Window {
gSwitcher: Switcher;
BCC_VERSION: string;
BCC_DEBUG: boolean;
}
}
declare class Switcher {
transports: Record<string, BareTransport>;
active: BareTransport | null;
}
export declare function findSwitcher(): Switcher;
export declare function AddTransport(name: string, client: BareTransport): void;
export declare function SetTransport(name: string): void;
export {};