import { Subject } from 'rxjs'; export declare const gamepadButtonPress$: Subject; export declare const gamepadButtonHeld$: Subject; export declare const gamepadButtonReleased$: Subject; export declare const gamepadAxes$: Subject; declare type GamepadAction = { controllerIndex: number; buttonIndex: number; }; declare type GamepadAxisReading = { controllerIndex: number; axisIndex: number; value: number; }; export declare function initGamepad(pollIntervalMs?: number): void; export declare function teardownGamepad(): void; export declare function useGamepadButtonPressed(controllerIndex: number, buttonIndex: number, sink: () => void): void; export declare function useGamepadAxis(controllerIndex: number, axisIndex: number, sink: (v: number) => void): void; export {};