UNPKG

emotiv-ts

Version:

A Typescript library that wraps the Cortex API functionalities to communicate with Emotiv headsets

11 lines (10 loc) 414 B
import type { w3cwebsocket } from 'websocket'; import { HeadsetService } from "./headset.service"; import { ProfileActions } from "../enums/profile-action.enum"; export declare class ProfileService { socket: w3cwebsocket; headsetService: HeadsetService; constructor(socket: w3cwebsocket); setupProfile(name: string, action: ProfileActions): Promise<unknown>; getProfiles(): Promise<unknown>; }