import type { KeyIndex, StreamDeck } from '@elgato-stream-deck/core'; import { StreamDeckProxy } from '@elgato-stream-deck/core'; import type { WebHIDDevice } from './hid-device.js'; /** * A StreamDeck instance. * This is an extended variant of the class, to provide some more web friendly helpers, such as accepting a canvas */ export declare class StreamDeckWeb extends StreamDeckProxy { private readonly hid; constructor(device: StreamDeck, hid: WebHIDDevice); /** * Instruct the browser to close and forget the device. This will revoke the website's permissions to access the device. */ forget(): Promise; fillKeyCanvas(keyIndex: KeyIndex, canvas: HTMLCanvasElement): Promise; fillPanelCanvas(canvas: HTMLCanvasElement): Promise; } //# sourceMappingURL=wrapper.d.ts.map