mirror of
https://github.com/fluencelabs/registry-demo
synced 2025-04-25 08:12:14 +00:00
19 lines
906 B
TypeScript
19 lines
906 B
TypeScript
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>;
|
|
export declare function disable(id: string): void;
|
|
export declare function enable(id: string): void;
|
|
export declare function link(id: string): string;
|
|
interface DiscoveredUser {
|
|
route: string;
|
|
userName: string;
|
|
}
|
|
export declare function updateUserList(users: DiscoveredUser[]): Promise<void>;
|
|
export {};
|