/// <reference types="./phaser" />
import PlayScene from "../scenes/PlayScene";
type TiltInput = number | "left" | "right" | "none";
type TiltDirection = "left" | "right" | "none";
export declare class Player extends Phaser.Physics.Arcade.Sprite {
    scene: PlayScene;
    hitSound: Phaser.Sound.HTML5AudioSound | undefined;
    canGoRight: boolean;
    lastInputDirection: TiltDirection;
    constructor(scene: PlayScene);
    init(): void;
    positionOnMountain(): void;
    scaleToFit(): void;
    getStartTrigger(): TiltInput;
    actionDecider(tiltInput: TiltInput, inputSource?: "cog" | "fallback-keyboard" | "fallback-button"): "left" | "right" | "none";
    emitInputEvent(tiltDirection: TiltDirection, source: "cog" | "fallback-keyboard" | "fallback-button"): void;
    moveLeft(tiltValue: number | string): Promise<void>;
    moveRight(tiltValue: number | string): Promise<void>;
    update(): void;
    setTextureIfNeeded(textureKey: string): void;
    registerSounds(): void;
    die(): void;
    cleanup(): void;
}
export {};
