import { EventEmitter_ } from '../../../EventEmitter';
import { System } from '../../../system';
export type Gamepad_J = {
    buttons: boolean[];
    axes: number[];
};
export declare const GAMEPAD_BUTTON_COUNT = 16;
export declare const GAMEPAD_AXIS_COUNT = 4;
export declare const GAMEPAD_DEFAULT_TRESHOLD = 0.001;
export declare class Gamepad_ extends EventEmitter_ {
    system: System;
    gamepad: Gamepad;
    constructor(system: System, gamepad: Gamepad);
    state: Gamepad_J;
    private _frame;
    read(): Promise<Gamepad_J>;
    write(data: Gamepad_J): Promise<void>;
    private _event_capture_tick;
    private _start_event_capture;
    private _stop_event_capture;
    private _listenerCount;
    addListener(event: any, listener: any): () => void;
    disconnect(): void;
}
