import { AnimationClip } from "three";
import { VRM, VRMHumanBoneName, VRMExpressionPresetName } from "@pixiv/three-vrm";
export interface AnimationData {
    duration: number;
    timelines: Timeline[];
}
export interface Timeline {
    name: VRMHumanBoneName | VRMExpressionPresetName;
    type: string;
    isIK?: boolean;
    times: number[];
    values: number[];
}
export interface VRMOffsets {
    hipsOffset?: number[];
    leftFootOffset?: number[];
    rightFootOffset?: number[];
    leftToeOffset?: number[];
    rightToeOffset?: number[];
}
export declare function convert(buffer: ArrayBufferLike, vrm?: VRM): AnimationData;
export declare function toOffset(vrm: VRM): VRMOffsets;
export declare function bindToVRM(data: AnimationData, vrm: VRM): AnimationClip;
