import { CommandResponse, CsvUploadResponse, HandyMode, ModeResponse, SetSpeedResponse, SetStrokeResponse, SettingsResponse, StatusResponse, SyncOffsetResponse, SyncPlayResponse, SyncPrepareResponse, VersionResponse } from "./typesLegacy"; /** Class to connect to and control a Handy using the HandyFeeling API V1 for devices with firmware v2.x. Will probably stop working eventually. And is no longer being suppoorted */ declare class Handy { _connectionKey: string; serverTimeOffset: number; constructor(connectionKey?: string); get connectionKey(): string; set connectionKey(connectionKey: string); setMode(mode: HandyMode): Promise; toggleMode(mode: HandyMode): Promise; setSpeed(speed: number, absolute?: boolean): Promise; setStroke(speed: number, absolute?: boolean): Promise; setStrokeZone(min: number, max: number): Promise; stepSpeed(directionUp: boolean): Promise; stepStroke(directionUp: boolean): Promise; getVersion(): Promise; getSettings(): Promise; getStatus(): Promise; getServerTimeOffset(trips?: number, onProgress?: (progress: number) => void): Promise; syncPrepare(scriptUrl: string, name?: string, size?: number): Promise; syncPlay(play?: boolean, time?: number): Promise; syncOffset(offset: number): Promise; syncAdjustTimestamp(videoTimeSeconds: number, filter?: number): Promise; uploadCsv(csv: File, filename?: string): Promise; enforceConnectionKey(): void; getUrl(cmd: string): string; } export default Handy; //# sourceMappingURL=HandyLegacy.d.ts.map