mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-05-09 02:35:37 +02:00
26 lines
688 B
TypeScript
26 lines
688 B
TypeScript
declare module '@mapbox/point-geometry';
|
|
declare module 'mapbox__point-geometry';
|
|
declare module 'qrcode' {
|
|
interface QRCodeToDataURLOptions {
|
|
errorCorrectionLevel?: 'L' | 'M' | 'Q' | 'H';
|
|
margin?: number;
|
|
width?: number;
|
|
color?: {
|
|
dark?: string;
|
|
light?: string;
|
|
};
|
|
}
|
|
|
|
interface QRCodeModule {
|
|
toDataURL(text: string, options?: QRCodeToDataURLOptions): Promise<string>;
|
|
}
|
|
|
|
const QRCode: QRCodeModule;
|
|
export default QRCode;
|
|
}
|
|
|
|
interface Window {
|
|
__SHADOWBROKER_DESKTOP__?: import('@/lib/desktopBridge').ShadowbrokerDesktopRuntime;
|
|
__SHADOWBROKER_LOCAL_CONTROL__?: import('@/lib/localControlTransport').ShadowbrokerLocalControlBridge;
|
|
}
|