2022-02-24 17:02:41 +03:00
|
|
|
import QRCode from 'qrcode';
|
|
|
|
export declare function addClass(id: string, className: string): void;
|
|
|
|
export declare function removeClass(id: string, className: string): void;
|
|
|
|
export declare function hide(id: string): void;
|
|
|
|
export declare function show(id: string): void;
|
|
|
|
export declare function onClick(id: string, handler: (el: MouseEvent) => void): void;
|
|
|
|
export declare function setText(id: string, text: string): void;
|
|
|
|
export declare function getValue(id: string): any;
|
|
|
|
export declare function createQrCode(targetId: string, link: string, opts: QRCode.QRCodeRenderersOptions): Promise<void>;
|
2022-02-24 19:24:18 +03:00
|
|
|
export declare function disable(id: string): void;
|
|
|
|
export declare function enable(id: string): void;
|
2022-02-24 19:41:57 +03:00
|
|
|
export declare function link(id: string): string;
|
|
|
|
interface DiscoveredUser {
|
|
|
|
route: string;
|
|
|
|
userName: string;
|
|
|
|
}
|
|
|
|
export declare function updateUserList(users: DiscoveredUser[]): Promise<void>;
|
|
|
|
export {};
|