export declare class Player { /** * Clear all additional display windows. * @example * ```javascript * eflyn.player.clearDisplays(); * ``` */ clearDisplays(): Promise; /** @internal */ executeJavascript(code: string): Promise; /** @internal */ postMessage(message: string): Promise; /** @internal */ postMessageToWebviews(message: string, allowedOrigins: string[]): Promise; /** * @internal * Allow the player window to submit events * */ emitSync(name: string, data?: any): void; /** * Reload the kiosk. * @example * ```javascript * eflyn.player.reload(); * ``` */ reload(): Promise; /** * Perform a hard reset, clearing all player storage and re-downloading * the player files. * @example * ```javascript * eflyn.player.reset(); * ``` */ reset(): Promise; /** * Exit the kiosk application. Note this will unsecure the sysetem. * @example * ```javascript * eflyn.player.exit(); * ``` */ exit(): Promise; /** @internal */ openDevTools(): Promise; /** @internal */ getVersion(): Promise<'archive' | 'remote' | 'local'>; /** @internal */ click(control: any): any; /** * Emulates a barcode scan. * @example * ```javascript * eflyn.player.emulateBarcodeScan(code); * ``` */ emulateBarcodeScan(code: string): any; /** * Updates an additional display * @example * ```javascript * eflyn.player.updateDisplay(); * ``` */ updateDisplay(update: any): any; getRemoteDesktopSources(): Promise<{ name: string; id: string; }[]>; }