import React from "react";
import type { CharacterConfig } from "../characterTypes";
import { type RigConfig, type RigPose } from "./rigTypes";
import type { ChoreoStep } from "../animationHelper";
/** Public methods exposed via ref. */
export interface RigPlayerHandle {
    /** Set pose immediately (no tween). */
    setPose(p: RigPose): void;
    /** Tween to pose in given duration. */
    tweenTo(p: RigPose, durationMs?: number): Promise<void>;
    /** Play DSL choreo mapped to rig angles. */
    playChoreo(steps: ChoreoStep[], defaultMs?: number): Promise<void>;
    /** Aim right hand to (x,y) in SVG space. */
    aimRightHandAt(x: number, y: number): void;
    /** Raise card using IK and hold optional score. */
    raiseCardIK(score?: number, durationMs?: number): Promise<void>;
}
/** Props for RigPlayer. */
export type RigPlayerProps = {
    /** Character visuals. */
    character: CharacterConfig;
    /** Rig proportions preset. */
    rig?: RigConfig;
    /** Initial pose (optional). */
    pose?: RigPose;
    /** Pixel size. */
    size?: number;
    /** Show debug joints. */
    debug?: boolean;
};
declare const RigPlayer: React.ForwardRefExoticComponent<RigPlayerProps & React.RefAttributes<RigPlayerHandle>>;
export default RigPlayer;
