import { gamepadProperty, JoyStickType } from '../../../../interface'; type Coordinate = { x: number; y: number; }; export type absolutePosType = number[]; export declare class JoyStick { private container; private absolutePos; private joyStickType; private global; value: Coordinate; static needTransform: boolean; static clientHeight: number; private pressed; private positionX; private positionY; private movedX; private movedY; private canvas; private canvasTemp?; constructor(container: HTMLElement, absolutePos: absolutePosType, joyStickType: JoyStickType, global: gamepadProperty); private checkHandleType; private handleOnlyHandle; private handleJoyStickText; private handleJoyStickDirection; private improvedClarity; private createCanvas; private get centerX(); private get centerY(); private handleStart; private handleEnd; private handleTouchMove; private computeTouchCoor; private getCoordinate; draw(): void; static drawBoxShadow(context: CanvasRenderingContext2D, center: Coordinate, global: gamepadProperty): void; static drawTray(context: CanvasRenderingContext2D, center: Coordinate, global: gamepadProperty): void; static drawHandle(context: CanvasRenderingContext2D, center: Coordinate, global: gamepadProperty): void; static drawArrow(context: CanvasRenderingContext2D, startAt: Coordinate, midAt: Coordinate, endAt: Coordinate): void; static drawAllDirectionSvg(context: CanvasRenderingContext2D, center: Coordinate, global: gamepadProperty): void; static drawDirectionText(context: CanvasRenderingContext2D, center: Coordinate, global: gamepadProperty): void; static drawSvg(context: CanvasRenderingContext2D, svg: string, center: Coordinate, dw: number, dh: number): void; destory(): void; } export {};